HotKeySet("^a", "fun")
HotkeySet("^s", "s")
HotKeySet("^d", "d")
HotKeySet("^f", "f")
HotKeySet("^g", "g")
local $aa
func fun()
$aa = WinGetHandle('[ACTIVE]')
EndFunc
func s()
ControlSend($aa,'','','{F1}')
EndFunc
func d()
ControlSend($aa,'','','{F2}')
EndFunc
func f()
ControlSend($aa,'','','{F3}')
EndFunc
func g()
ControlSend($aa,'','','{F4}')
EndFunc
while 1
sleep(1)
WEnd