Существует ли «сдвиговая» версия Scroll Lock?

542
Eliyahu

Caps Lock предназначен для Shift, как Scroll Lock для ...

Если это неясно, я хочу нажать клавишу + клавишу со стрелкой, а затем потом нажать все, и все должно вернуться к тому, как это было.

Изменить: спрашивая в основном за функциональность Excel.

-1
Там нет ни одного. Ramhound 9 лет назад 0

1 ответ на вопрос

1
James P

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 SetScrollLockState %oldState% return !Down:: oldState := GetKeyState("ScrollLock", "T") ? "On" : "Off" newState := GetKeyState("ScrollLock", "T") ? "Off" : "On" SetScrollLockState %newState% Send SetScrollLockState %oldState% return !Left:: oldState := GetKeyState("ScrollLock", "T") ? "On" : "Off" newState := GetKeyState("ScrollLock", "T") ? "Off" : "On" SetScrollLockState %newState% Send SetScrollLockState %oldState% return !Right:: oldState := GetKeyState("ScrollLock", "T") ? "On" : "Off" newState := GetKeyState("ScrollLock", "T") ? "Off" : "On" SetScrollLockState %newState% Send 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.