Toggle off ScrollLock when any key is pressed, except for w,a,s,d or shift

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
Arrivest
Posts: 16
Joined: 24 Nov 2017, 12:28

Toggle off ScrollLock when any key is pressed, except for w,a,s,d or shift

12 Dec 2017, 11:26

Hi, what is the cleanest way to write "if ScrollLock is on, toggle it off when any key is pressed, except for w,a,s,d or shift"?

Thanks very much!

Background: I remapped my RAlt to ScrollLock, and want to use w,a,s,d as arrow keys when ScrollLock is on, but want to toggle back when any key is pressed

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: Google [Bot], ntepa, scriptor2016, supplementfacts and 142 guests