| View previous topic :: View next topic |
| Author |
Message |
Darrin Guest
|
Posted: Wed May 28, 2008 6:11 pm Post subject: Multiple AutoHotKey.ahk or easy switch |
|
|
Hi all, wonderful software.
I have a game in which I play two characters so need to switch between two macro scripts.
I don't see a way to select different autohokey.ahk
Is there an easy way to switch?
Or perhaps in the ahk itself I can just cut and paste move up and down without using semicolons?
For example
Player 1 macros
Stop here/break
;Player 2 macros
For example
Player 2 macros
Stop here/break
Thanks in Advance!
Player 1 macros |
|
| Back to top |
|
 |
Z Gecko Guest
|
|
| Back to top |
|
 |
interiot
Joined: 06 Nov 2005 Posts: 64
|
Posted: Thu May 29, 2008 12:28 am Post subject: |
|
|
There needs to be a way to enable/disable large groups of hotkeys, but as far as I know, there's no way to do it. Easiest way is just to include this in every single one of your hotkeys:
| Code: | ^F:: ; ctrl-f
if (GetKeyState("numlock", "t")) {
; player 2 (num-lock is on)
} else {
; player 1 (num-lock is off)
}
return |
|
|
| Back to top |
|
 |
Red Hat Boy
Joined: 10 Apr 2008 Posts: 113
|
Posted: Thu May 29, 2008 12:53 am Post subject: |
|
|
Or, you could just create different scripts, and one script to control them. Have a hotkey to enable/disable them. _________________ I slit the sheet, the sheet I slit,
and on the slitted sheet I sit. ;~} |
|
| Back to top |
|
 |
Darrin Guest
|
Posted: Thu May 29, 2008 2:40 pm Post subject: |
|
|
| Yep got the multiple files going. that should be fine. Thanks for the help! |
|
| Back to top |
|
 |
|