Scrolling Macro Help

Ask gaming related questions (AHK v1.1 and older)
zekromblitzi
Posts: 1
Joined: 23 Jul 2020, 19:53
Contact:

Scrolling Macro Help

23 Jul 2020, 20:01

So if i wanted to make a macro to scroll down with the mouse that toggles, using the hotkey of like ^{ or something, how would i code it as such? I'm kinda new to this and I'm not amazing at coding.
User avatar
Yakshongas
Posts: 590
Joined: 21 Jan 2020, 08:41

Re: Scrolling Macro Help

26 Jul 2020, 09:58

Code: Select all

#MaxThreadsPerHotkey, 2
Toggle := 0

^{::
Toggle := !Toggle
While (Toggle = 1)
{
    Send, {WheelDown}
    Sleep, 100
}
Return
Please mark your topics as solved if you don't need any further help. ✅

Need a little more help? Discord : Yakshongas#9893 🕹

Return to “Gaming Help (v1)”

Who is online

Users browsing this forum: No registered users and 66 guests