Code: Select all
LButton::
{
Send ("{LButton down}")
KeyWait "LButton"
Send ("{LButton up}")
}
Code: Select all
LButton::
{
Send ("{LButton down}")
KeyWait "LButton"
Send ("{LButton up}")
}
Code: Select all
#Requires AutoHotkey >=2.0
#SingleInstance Force
#HotIf WinActive("ahk_exe Chrome.exe")
toggle := 1
^b::
{
Global toggle := !toggle
SoundBeep 100, 200
}
LButton::
{
If toggle
{
Send ("{LButton down}")
KeyWait "LButton"
Send ("{LButton up}")
}
else
{
Loop
{
Send ("{LButton down}")
Sleep 50
Send ("{LButton up}")
If not GetKeyState("LButton", "P")
Break
}
}
}
Code: Select all
#Requires AutoHotkey v2.0
on := False
chrome := 'ahk_exe chrome.exe'
#HotIf WinExist(chrome)
F12:: {
Global on ^= True
SoundBeep 1000 + 500 * on
}
#HotIf on && WinActive(chrome)
LButton::MsgBox
#HotIf
Code: Select all
#Requires AutoHotkey >=2.0
AA := False
chrome := 'ahk_exe chrome.exe'
#HotIf WinExist(chrome)
^b::
{
Global AA ^= True
SoundBeep 400 - 300 * AA
}
#HotIf AA && WinActive(chrome)
*LButton::
{
Loop
{
Send ("{LButton down}")
Sleep 80
Send ("{LButton up}")
If not GetKeyState("LButton", "P")
Break
}
}
Users browsing this forum: hiahkforum, Noitalommi_2, w_i_k_i_d and 58 guests