AutoHotKey覆盖SurfacePen无法正常工作

时间:2019-09-09 13:32:03

标签: autohotkey surface presentation pen

我想用AutoHotKey覆盖Surface Pen上的“橡胶”按钮。我的目标是使用SurfacePen单击我的PDF演示文稿(左右箭头)

在许多网站上都有描述:

https://www.reddit.com/r/Surface/comments/3rftuo/autohotkey_tip_f20_maps_the_single_click_f19_maps/

https://www.wpxbox.com/how-to-remap-surface-pen-button-actions/

我已经尝试使用其他键(例如F1)来获得所需的反应,并且此方法有效。只是按键#F18,#F19和#F20(用于橡胶按钮)似乎不起作用。

#F19:: Send, {Left}
#F20:: Send, {Right}

谢谢

1 个答案:

答案 0 :(得分:0)

以这种方式解决。我正在使用FoxitReader作为PDF Reader

#IfWinActive, ahk_exe FoxitReader.exe
#F18:: Send, {Left}
#F20:: Send, {Right}
相关问题