Call a compiled EXE with different parameters Topic is solved

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
Peter2
Posts: 325
Joined: 21 Sep 2014, 14:38
Location: CH

Call a compiled EXE with different parameters

02 Aug 2019, 09:10

I want to create an EXE with this behaviour when calling:

"myprog.exe" -->> Message appears: "Please use parameters /b or /g ..."
"myporg.exe /g" -->> starts the EXE and calls a GUI
"myprog.exe /b" -->> starts the EXE and runs without GUi

Where I have to start my investigations? Which topic?
"Byref"?

Thanks in advance!
Peter (AHK Beginner) / Win 10 x64, AHK Version v1.1.33
User avatar
jNizM
Posts: 3183
Joined: 30 Sep 2013, 01:33
Contact:

Re: Call a compiled EXE with different parameters  Topic is solved

02 Aug 2019, 09:15

See here -> https://www.autohotkey.com/docs/Scripts.htm#cmd (Script Parameters)
[AHK] v2.0.5 | [WIN] 11 Pro (Version 22H2) | [GitHub] Profile
Peter2
Posts: 325
Joined: 21 Sep 2014, 14:38
Location: CH

Re: Call a compiled EXE with different parameters

02 Aug 2019, 14:12

Thank you!
Peter (AHK Beginner) / Win 10 x64, AHK Version v1.1.33

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: No registered users and 348 guests