Skip to content

Instantly share code, notes, and snippets.

@mangege
Last active December 5, 2015 12:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mangege/d28f03634ba6d2e1abe5 to your computer and use it in GitHub Desktop.
Save mangege/d28f03634ba6d2e1abe5 to your computer and use it in GitHub Desktop.
windows 平板点击按屏翻页小工具,需要安装autohotkey(或自己编译成exe运行),阅读软件必须是 Adobe reader 桌面版.
EnableMap := false
#IfWinActive ahk_class AcrobatSDIWindow
$LButton::
if (A_ThisHotkey = A_PriorHotkey && A_TimeSincePriorHotkey < 200)
{
if (EnableMap){
EnableMap := false
ToolTip Disable success
} else {
EnableMap := true
ToolTip Enable success
}
SetTimer RemoveToolTip, -2000
return
}
if (EnableMap)
{
Send {PgDn}
}
else
{
Send {LButton}
}
return
#IfWinActive
RemoveToolTip:
ToolTip
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment