Skip to content

Instantly share code, notes, and snippets.

@mangege

mangege/pdfkey.ahk

Last active Dec 5, 2015
Embed
What would you like to do?
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