help with a short hotkey Topic is solved

Ask gaming related questions (AHK v1.1 and older)
asimpleuser

help with a short hotkey  Topic is solved

30 Jul 2018, 20:34

hello i'm trying to launch a ahk script where inside must work like this:

1.- launch loader.exe
2.- wait until "alt+f4" hotkey
3.- wait 1 second
4.- kill process loader.exe
5.- wait 1 seconds
6.- press escape key.
7.- kill process game.exe
8.- kill the ahk script it self (i think it keep load in the windows tool bar).

and i got this code:

Code: Select all

#SingleInstance,Force
#Persistent
Run , loader.exe
Keywait, !{f4}
!{f4}::
Process , Close, loader.exe
Process , Close, game.exe
ExitApp
Return
i'm not sure if the first 2 lines are required because i'm a extreme newbie on this kind of things , also thanks a lot for any help =) <3

Return to “Gaming Help (v1)”

Who is online

Users browsing this forum: No registered users and 46 guests