hi i have this macro :
$e::
while (getkeystate("e", "P")) {
send e
sleep 1
}
return
i wonder if its posible to add multiple buttons to this script, i want to add "R" and mouse4 and on/off button for example f5
thx for help
wow macro
Re: wow macro
Welcome to this AutoHotkey forum!
Yes, you can add as many as you like. You can put the new hotkey routines below the one that you have.
Explained: Using the program
Yes, you can add as many as you like. You can put the new hotkey routines below the one that you have.
Explained: Using the program
Re: wow macro
Code: Select all
$e::
while (getkeystate("e", "P")) {
send e
send r
send XButton4
sleep 1
}
return
Code: Select all
$e::
while (getkeystate("e", "r", "XButton4", "P")) {
send e
send r
send XButton4
sleep 1
}
return
Re: wow macro
AHK accommodates five buttons directly: left, right, middle, X1, and X2. See the list of keys. Additional keys can sometimes be identified via their scan codes.
You won't be able to make up your own AHK syntax. See GetKeyState(), which has a maximum of two parameters. You can use AND or OR to check for multiple keys by using multiple instances of the function. There is an inherent keyboard limit to how many held keys can be detected simultaneously.
You won't be able to make up your own AHK syntax. See GetKeyState(), which has a maximum of two parameters. You can use AND or OR to check for multiple keys by using multiple instances of the function. There is an inherent keyboard limit to how many held keys can be detected simultaneously.
Who is online
Users browsing this forum: mikeyww and 23 guests