Hello! Yesterday I've posted a topic asking for a script and a very friendly man helped me but now I need to make the script run in background and this step i can't get to work, my english is very bad and this is my first time messing with ahk so it's been really hard to me I've tryied everything I saw in this forum I spent like 3 hours to make it work but without success so if anyone whants to help me out or even make the coding for me I would be very very gratefull!
The ahk file is:
Code: Select all
F3::SetTimer, F3 Up, % (f3 := !f3) ? 3000 : "Off"
F3 Up::
Click
Sleep, 990
Send {Space}
Sleep, 1990
Return
The windowspy info for the gamewindow I whant to send the ahk is:
FiveM® by Cfx.re - Future RP | Drogas, Putas e Vinho Verde
ahk_class grcWindow
ahk_exe FiveM_b2545_GTAProcess.exe
ahk_pid 14232