| View previous topic :: View next topic |
| Author |
Message |
wolive
Joined: 20 Jul 2004 Posts: 21 Location: South Africa
|
Posted: Mon Mar 21, 2005 7:04 pm Post subject: Relacing current running script |
|
|
Is it possible to toggle between two scripts using a hotkey. For example, when I press a specific hotkey I would like the current running script to unload and an alternative script to load. Once I'm done with the alternative script the same hotkey must unload the alternative script and reload the original one.
Thanks |
|
| Back to top |
|
 |
Chris Site Admin
Joined: 02 Mar 2004 Posts: 10480
|
Posted: Mon Mar 21, 2005 7:53 pm Post subject: |
|
|
I think something simple can achieve this:
^!d:: ; Ctrl+Alt+D hotkey.
Run, Script2.ahk ; Change this to Script1.ahk in your other script.
ExitApp |
|
| Back to top |
|
 |
wolive
Joined: 20 Jul 2004 Posts: 21 Location: South Africa
|
Posted: Mon Mar 21, 2005 8:27 pm Post subject: |
|
|
Thanks for the quick response. It works as described by you.
 |
|
| Back to top |
|
 |
|