Code: Select all
#Requires AutoHotkey v2.0
#HotIf WinActive("ahk_exe example.exe")
#c::
a:: {
Send "{m}"
}
Code: Select all
#Requires AutoHotkey v2.0
#HotIf WinActive("ahk_exe example.exe")
#c::
a:: {
Send "{m}"
}
Code: Select all
#Requires AutoHotkey v2.0
+c:: {
KeyWait 'c'
If A_PriorKey = 'c'
SendText 'C'
}
#HotIf GetKeyState('c', 'P')
+a::SendText 'm'
#HotIf
Code: Select all
#Requires AutoHotkey v2.0
Ins:: {
KeyWait 'm'
If A_PriorKey = 'm'
SendText 'M'
KeyWait 'n'
If A_PriorKey = 'n'
SendText 'N'
}
#HotIf GetKeyState('Ins', 'P')
b::SendText 'n'
a::SendText 'm'
#HotIf