| View previous topic :: View next topic |
| Author |
Message |
jsmain
Joined: 11 Jul 2005 Posts: 81
|
Posted: Tue Jan 15, 2008 5:34 pm Post subject: executng an AHK script with command line switch???? |
|
|
Is it possible to create a compiled AHK script that will recognize a command line switch that affects its execution?
For instance, I've done some reading about controling winamp with Ahk...
Say I want to assign a command to a programmed key on an xkeys control panel. Instead of creating a seperate exe for each command and assigning it to each key, I'd like to create one exe file called WAC.exe (WinAmpControl). In order to command play, I would assign wac.exe /Play to a button on my xkeys.
I would much prefer to do this rather than assign lengthy key combos to everything, as I'm running short on unused key combos.
On the program I would like to use it with, for each new release, it appears as though I am forced to update 60-70 individual exe files with each release instead of one.
I guess my question is really... if it's possible... is how do I recognize the command line switch for the AHK exe as in this example?
I realize this can be done for launching other apps via AHK with the run and run as command, but reading the switch given to itself during launch??? _________________ Jeff Main |
|
| Back to top |
|
 |
jsmain
Joined: 11 Jul 2005 Posts: 81
|
|
| Back to top |
|
 |
tank
Joined: 21 Dec 2007 Posts: 679
|
Posted: Tue Jan 15, 2008 6:19 pm Post subject: |
|
|
very good i wish every one who posted questions would keep looking also
welcome to ahk _________________ Read this
Com
Automate IE7 with Tabs |
|
| Back to top |
|
 |
|