Hey, im new to this scripting, today im trying to make a mouse macro.
\::Suspend
XButton2::Q
I tried it, and it worked fine. Now i want that "XButton2" click to send the "Q" and "E" with a 0.5 second delay but it doesn't work. I tried to use the Send and ControlSend commands but seems like it doesn't work for me.
Can anyone help me finish this script ?
Mouse Macro
Re: Mouse Macro
XButton::Q maps press of xb2 to press of q, and release of xb2 to release of q.
Send q, on the other hand, by default, presses then *immediately* releases q (As in 0ms gap between press and release), which many games do not like.
Try to add SetKeyDelay, 0, 50 to the start of the script, to tell AHK to hold all keys for 50ms (Which should give the game a chance to see it)
Also, you may need to run the script as admin.
Send q, on the other hand, by default, presses then *immediately* releases q (As in 0ms gap between press and release), which many games do not like.
Try to add SetKeyDelay, 0, 50 to the start of the script, to tell AHK to hold all keys for 50ms (Which should give the game a chance to see it)
Also, you may need to run the script as admin.
Who is online
Users browsing this forum: No registered users and 58 guests