 |
AutoHotkey Community Let's help each other out
|
| View previous topic :: View next topic |
| Author |
Message |
Bob Guest
|
Posted: Tue Aug 03, 2004 2:41 am Post subject: Command line |
|
|
This can be done with a bat file , how would I do it with Autohotkey and a hotkey setup ?
| Quote: | | rundll32.exe shell32.dll,Control_RunDLL timedate.cpl,@0,2 |
|
|
| Back to top |
|
 |
Rajat
Joined: 28 Mar 2004 Posts: 1717
|
Posted: Tue Aug 03, 2004 4:25 am Post subject: |
|
|
this binds it to Win + z
#z:: run, rundll32.exe shell32.dll,Control_RunDLL timedate.cpl,@0,2 _________________
 |
|
| Back to top |
|
 |
Bob Guest
|
Posted: Tue Aug 03, 2004 4:28 am Post subject: |
|
|
| Thank you Rajat . |
|
| Back to top |
|
 |
Bob Guest
|
Posted: Tue Aug 03, 2004 4:34 am Post subject: |
|
|
Get this error ?
| Quote: | ---------------------------
rundll.ahk
---------------------------
Error: Parameter #3 must be either blank, a variable reference, or one of these words: MIN, MAX, HIDE.
Specifically: @0,
Line#
001: Return
---> 001: Run,rundll32.exe shell32.dll,Control_RunDLL timedate.cpl,@0,
|
|
|
| Back to top |
|
 |
Bob Guest
|
Posted: Tue Aug 03, 2004 4:35 am Post subject: |
|
|
I cut the 2 off of it
| Code: | Run,rundll32.exe shell32.dll,Control_RunDLL timedate.cpl,@0, 2
|
|
|
| Back to top |
|
 |
Chris Site Admin
Joined: 02 Mar 2004 Posts: 10464
|
Posted: Tue Aug 03, 2004 10:57 am Post subject: |
|
|
To use a comma literally inside a parameter (except the last parameter and except MsgBox), you must escape it like so:
#z::run, rundll32.exe shell32.dll`,Control_RunDLL timedate.cpl`,@0`,2 |
|
| Back to top |
|
 |
|
|
You can post new topics in this forum You can reply to topics in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|