-1

Caps Lock is to Shift as Scroll lock is to...

If that wasn't clear, I want to press down on a key + an arrow key, and then depress everything afterwards and it should go back to how it was.

Edit: Asking mainly for it's Excel functionality.

1
  • There isn't one.
    – Ramhound
    Feb 18, 2015 at 15:25

1 Answer 1

1

You can kind of do this by using AutoHotKey.

Once you have installed it, it creates a file called AutoHotkey.ahk in your Documents folder. Replace the default content with the following:

!Up::
oldState := GetKeyState("ScrollLock", "T") ? "On" : "Off" 
newState := GetKeyState("ScrollLock", "T") ? "Off" : "On"
SetScrollLockState %newState%
Send {Up}
SetScrollLockState %oldState%
return

!Down::
oldState := GetKeyState("ScrollLock", "T") ? "On" : "Off" 
newState := GetKeyState("ScrollLock", "T") ? "Off" : "On"
SetScrollLockState %newState%
Send {Down}
SetScrollLockState %oldState%
return

!Left::
oldState := GetKeyState("ScrollLock", "T") ? "On" : "Off" 
newState := GetKeyState("ScrollLock", "T") ? "Off" : "On"
SetScrollLockState %newState%
Send {Left}
SetScrollLockState %oldState%
return

!Right::
oldState := GetKeyState("ScrollLock", "T") ? "On" : "Off" 
newState := GetKeyState("ScrollLock", "T") ? "Off" : "On"
SetScrollLockState %newState%
Send {Right}
SetScrollLockState %oldState%
return

Afterwards you need to run the AutoHotkey.exe program and it will put an icon in the system tray to show that it is running.

Now you can use Alt to temporarily override scroll-lock when pressing the arrow keys.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .