argumentum Posted May 26, 2023 Share Posted May 26, 2023 22 hours ago, CodeFu said: Au contraire... ..late to the party I guess. This is easier: matchOsIGuess() Func matchOsIGuess() If @AutoItX64 = 0 And @OSArch = "X86" Then Return If @AutoItX64 = 1 And @OSArch = "X64" Then Return Exit ShellExecute(StringTrimRight(@AutoItExe, 4) & "_x64.exe", $CmdLineRaw) EndFunc MsgBox(0, @ScriptName, '@OSArch = ' & @OSArch & @CR & '@AutoItX64 = ' & @AutoItX64, 20) Follow the link to my code contribution ( and other things too ). FAQ - Please Read Before Posting. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now