Code: Select all
#InstallKeybdHook
#InstallMouseHook
DubbleClik()
{
KeyWait, %A_ThisHotkey%
Sleep 10
KeyWait, %A_ThisHotkey%, D, T0.20
If ErrorLevel = 1
{
Return True
}
Else
{
Return False
}
}
o::
{
if (DubbleClik())
{
Send {o}
}
Else
{
Run, "E:\PortableApps\PortableApps\AutoHotkeyPortable\AHK Scripts\Browsers\Brave Portable.ahk"
}
Return
}