AutoHotkey – 夏清然的日志 https://www.qingran.net Xia Qingran Geek Blog Sun, 07 Aug 2016 09:50:33 +0000 en-US hourly 1 https://wordpress.org/?v=4.6.1 112893047 使用AutoHotkey修改windows 下触摸板改为“自然滚动” https://www.qingran.net/2013/08/%e4%bd%bf%e7%94%a8autohotkey%e4%bf%ae%e6%94%b9windows-%e4%b8%8b%e8%a7%a6%e6%91%b8%e6%9d%bf%e6%94%b9%e4%b8%ba%e8%87%aa%e7%84%b6%e6%bb%9a%e5%8a%a8/ https://www.qingran.net/2013/08/%e4%bd%bf%e7%94%a8autohotkey%e4%bf%ae%e6%94%b9windows-%e4%b8%8b%e8%a7%a6%e6%91%b8%e6%9d%bf%e6%94%b9%e4%b8%ba%e8%87%aa%e7%84%b6%e6%bb%9a%e5%8a%a8/#respond Tue, 27 Aug 2013 12:41:11 +0000 https://www.qingran.net/?p=1911 启动 里即可。]]> macbook使用习惯后,都喜欢了所谓的“触摸板自然滚动”,原因很简单,和iphone、ipad等触屏保持一致。

一直寻找windows下的解决方案,经过一段时间终于找到了AutoHotkey这个软件。

下载AutoHotkey http://www.autohotkey.com/,然后安装。

新建文件reverse-roll.ahk,输入内容:

#MaxHotkeysPerInterval 200

WheelUp::
Send {WheelDown}
Return

WheelDown::
Send {WheelUp}
Return

如果有报错说是MaxHotkeysPerInterval不够的话,继续加大第一行的数值。

然后右键点击这个文件,选compile script,生成exe文件,拖动到 开始-> 启动 里即可。

]]>
https://www.qingran.net/2013/08/%e4%bd%bf%e7%94%a8autohotkey%e4%bf%ae%e6%94%b9windows-%e4%b8%8b%e8%a7%a6%e6%91%b8%e6%9d%bf%e6%94%b9%e4%b8%ba%e8%87%aa%e7%84%b6%e6%bb%9a%e5%8a%a8/feed/ 0 1911