Press key to play macro that is stored in mouse memory

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
Mastiff
Posts: 1
Joined: 08 Mar 2019, 07:11

Press key to play macro that is stored in mouse memory

08 Mar 2019, 08:00

Hi Guys,
I just found a AutoHotkey yesterday so im very new to this.
Tried to manage a script by myself but without a luck.
I have macro stored on a mouse under button 5 when i click and hold MB5 script runs, when i release MB5 or press any other mouse button it stops and goes back to beggining.
Is it possible to activate MB5 with a "f1" key and deactivate when button isnt held anymore or another button is pressed ??
Or maybe easier is to transfer a macro from the mouse ?

This is how it looks in the mouse (recorded with the Pulover macro creator)
It does not stop when key is released or any other pressed but it also does not perform the same way when i run it through mouse. (run in circles instead of strafing)

f1::
Send, {w Down}
Sleep, 34
Send, {LShift Down}
Sleep, 34
Send, {w Up}
Sleep, 34
Send, {D Down}
Sleep, 34
Send, {LShift Up}
Sleep, 34
Send, {s Down}
Sleep, 34
Send, {s Up}
Sleep, 275
Send, {D Up}
Sleep, 34
Send, {w Down}
Sleep, 34
Send, {LShift Down}
Sleep, 34
Send, {w Up}
Sleep, 34
Send, {A Down}
Sleep, 34
Send, {LShift Up}
Sleep, 34
Send, {s Down}
Sleep, 34
Send, {s Up}
Sleep, 275

Thanks in advance.

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: CrowexBR, doodles333, vysmaty and 243 guests