办公问答网

 找回密码
 立即注册
搜索
热搜: 活动 交友 discuz
查看: 111|回复: 0

使用AutoHotKey让OneNote实现Shift+滚轮左右移动

[复制链接]

2

主题

7

帖子

10

积分

新手上路

Rank: 1

积分
10
发表于 2023-3-10 13:21:14 | 显示全部楼层 |阅读模式
我这里,win下的onenote左右不能移动,今天发现可以用AutoHotKey实现,过程如下:
进入AutoHotKey官网下载安装(我下载的是1.1版本)

编写脚本如下

#NoEnv  ; Recommended for performance and compatibility with future AutoHotkey releases.
; #Warn  ; Enable warnings to assist with detecting common errors.
SendMode Input  ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir%  ; Ensures a consistent starting directory.

;################################################################
; Shift + Wheel for horizontal scrolling
;################################################################
+WheelDown::
Send, {WheelRight}
Return

+WheelUp::
Send, {WheelLeft}
Return运行脚本,需求实现

参考

【AutoHotKey】Shift键加鼠标滚轮实现左右滑动
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|办公问答网

GMT+8, 2025-3-16 11:50 , Processed in 0.097956 second(s), 22 queries .

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc. Templated By 【未来科技 www.veikei.com】设计

快速回复 返回顶部 返回列表