Hey, im new to this scripting, today im trying to make a mouse macro.
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 ?
Ask gaming related questions
2 posts • Page 1 of 1
XButton::Qmaps 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, 50to 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 6 guests