| View previous topic :: View next topic |
| Author |
Message |
TotAL_NewB
Joined: 13 Aug 2008 Posts: 9
|
Posted: Tue Aug 26, 2008 6:05 pm Post subject: Add parameter to run command |
|
|
Run Command doesn't work when I add a parameter.
This works:
| Code: | | run, C:\MyAHKscript.ahk |
This does not:
| Code: | run, C:\MyAHKscript.ahk parm1
run, C:\MyAHKscript.ahk "parm1" |
|
|
| Back to top |
|
 |
[VxE]
Joined: 07 Oct 2006 Posts: 1496
|
Posted: Tue Aug 26, 2008 6:22 pm Post subject: |
|
|
| Code: | | run %A_AhkPath% "c:\MyScript.ahk" "param1" "%param2%" |
_________________ My Home Thread
More Common Answers: [1]. It's in the FAQ [2]. Ternary ( a ? b : c ) guide [3]. Post code inside [code][/code] tags ! |
|
| Back to top |
|
 |
TotAL_NewB
Joined: 13 Aug 2008 Posts: 9
|
Posted: Tue Aug 26, 2008 6:28 pm Post subject: |
|
|
Thanks!
It works brilliantly. I'm trying to implement your advise regarding the multi-threaded scripts.  |
|
| Back to top |
|
 |
|