Caps Lock 与 Shift 的关系正如 Scroll lock 与......的关系
如果这不清楚的话,我想按下一个键+一个箭头键,然后按下所有键,它应该恢复到原来的状态。
编辑:主要询问它的 Excel 功能。
答案1
你可以使用自动热键。
安装后,它会AutoHotkey.ahk
在 Documents 文件夹中创建一个名为的文件。将默认内容替换为以下内容:
!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
之后您需要运行该AutoHotkey.exe
程序,它会在系统托盘中放置一个图标来显示它正在运行。
现在,您可以Alt在按箭头键时使用它来暂时覆盖滚动锁定。