Code: Select all
CoordMode Mouse
ox := A_ScreenWidth // 2
oy := A_ScreenHeight // 2
MouseGetPos x1, y1
x2 := -x1 + (2 * ox)
y2 := -y1 + (2 * oy)
Click % x2 "," y2
Code: Select all
CoordMode Mouse
ox := A_ScreenWidth // 2
oy := A_ScreenHeight // 2
MouseGetPos x1, y1
x2 := -x1 + (2 * ox)
y2 := -y1 + (2 * oy)
Click % x2 "," y2
Code: Select all
msgbox a_ahkversion
Code: Select all
msgbox % a_ahkversion
Code: Select all
q::
KeyWait q
if (A_TimeSinceThisHotkey < 200)
action1()
else if (A_TimeSinceThisHotkey < 500)
action2()
else
action3()
Return
action1() {
}
action2() {
}
action3() {
}
Code: Select all
echo MsgBox | AutoHotkey.exe *
Code: Select all
hSoundfont := DllCall("GlobalAlloc", "UInt", 0, "Ptr", f.Length, "Ptr")
f.RawRead(hSoundfont, f.Length)
Crypt_AES(&hSoundfont,