【AHK】配合mouselnc边缘滚动调比例程序快捷键修改合集

为了统一通过ctrl+-ctrl+=配合mouselnc的边缘滑动调节各个程序比例,对不同调节比例的快捷键做了映射。
其中,放大缩小比例快捷键有,资源管理器、OnetNote、Word、WPS


;==============explorer 专用↓↓↓↓===========================================


#IfWinActive ahk_exe explorer.exe

^=::
send ^!=
return

^-::
send ^!-
return

#IfWinActive




;;==============onenote专用↓↓↓↓===========================================


#IfWinActive ahk_exe onenote.exe

^-::
send ^+!-
return

^=:: 
send ^+!=
return



;==============word专用↓↓↓↓===========================================


;指定 word 程序运行
#IfWinActive ahk_exe WINWORD.EXE

;需要自己在word配置宏并设置快捷键触发`ctrl+alt+[``ctrl+alt+[`,具体本栏目有相关文章

^=::
send ^!.
return

^-::
send ^!,
return

;横向滚动

 ~LShift & WheelUp::  ; Scroll left.
 ControlGetFocus, fcontrol, A
 Loop 5  ; <-- Increase or decrease this value to scroll faster or slower.
    ComObjActive("Word.application").ActiveWindow.SmallScroll(0,0,0,1)
 return
 
 ~LShift & WheelDown::  ; Scroll right.
 ControlGetFocus, fcontrol, A
 Loop 5  ; <-- Increase or decrease this value to scroll faster or slower.
 	ComObjActive("Word.application").ActiveWindow.SmallScroll(0,0,1,0)



#IfWinActive


;==============excel专用↓↓↓↓===========================================

#IfWinActive,ahk_exe EXCEL.EXE
 ~LShift & WheelUp::  ; Scroll left.
 ControlGetFocus, fcontrol, A
 Loop 5  ; <-- Increase or decrease this value to scroll faster or slower.
    ComObjActive("Excel.application").ActiveWindow.SmallScroll(0,0,0,1)
 return
 
 ~LShift & WheelDown::  ; Scroll right.
 ControlGetFocus, fcontrol, A
 Loop 5  ; <-- Increase or decrease this value to scroll faster or slower.
 	ComObjActive("Excel.application").ActiveWindow.SmallScroll(0,0,1,0)
 return
#IfWinActive




;==============zotero 专用↓↓↓↓===========================================


#IfWinActive ahk_exe wps.exe

^=::
send ^!]
return

^-::
send ^![
return

return
#IfWinActive



#IfWinActive ahk_exe zotero.exe

^=::
send !v{z}{enter}
return

^-::
send !v{down 8}{enter}
return


#IfWinActive


  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值