For AHK . Help me used another way

Dwayne

Active member
Joined
Jun 4, 2014
Messages
125
Reaction score
0
I need used AHK for game only, just game. And i play another game Alt+Tab but AHK is running. Anybodey help me pls
 

Shakira

Active member
Joined
Jul 11, 2014
Messages
191
Reaction score
0
cut ve rgame ma choi qua đây chả ai chỉ mày hack đâu
 

Momo92

Active member
Joined
Aug 21, 2013
Messages
42
Reaction score
0
Put

Code:
#IfWinActive, GTA:SA:MP
in the declaration part of your script.
 

Dwayne

Active member
Joined
Jun 4, 2014
Messages
125
Reaction score
0
Momo92 said:
Put

Code:
#IfWinActive, GTA:SA:MP
in the declaration part of your script.

not yet man , if you means?
Code:
numpad0::
#IfWinActive, GTA:SA:MP
SendInput t/layvatlieu{enter}
sleep 20000
sendinput t/pcp{enter}
sleep 50
sendinput t/ptpc -1816.09 -178.99 9.39{enter}
sleep 50
SendInput t/layvatlieu{enter}
return
 

Momo92

Active member
Joined
Aug 21, 2013
Messages
42
Reaction score
0
Dwayne said:
Momo92 said:
Put

Code:
#IfWinActive, GTA:SA:MP
in the declaration part of your script.

not yet man , if you means?
Code:
numpad0::
#IfWinActive, GTA:SA:MP
SendInput t/layvatlieu{enter}
sleep 20000
sendinput t/pcp{enter}
sleep 50
sendinput t/ptpc -1816.09 -178.99 9.39{enter}
sleep 50
SendInput t/layvatlieu{enter}
return

Put it at the very top of your script. Or at least before the hotkeys.
 

Dwayne

Active member
Joined
Jun 4, 2014
Messages
125
Reaction score
0
Momo92 said:
Dwayne said:
Momo92 said:
Put

Code:
#IfWinActive, GTA:SA:MP
in the declaration part of your script.

not yet man , if you means?
Code:
numpad0::
#IfWinActive, GTA:SA:MP
SendInput t/layvatlieu{enter}
sleep 20000
sendinput t/pcp{enter}
sleep 50
sendinput t/ptpc -1816.09 -178.99 9.39{enter}
sleep 50
SendInput t/layvatlieu{enter}
return

Put it at the very top of your script. Or at least before the hotkeys.


Like this?
Code:
#IfWinActive, GTA:SA:MP
numpad0::
SendInput t/layvatlieu{enter}
sleep 20000
sendinput t/pcp{enter}
sleep 50
return
 

Shakira

Active member
Joined
Jul 11, 2014
Messages
191
Reaction score
0
máy thằng vn ngu lám chỉ nó tận răng hoặc post file lên thì nó tải về thôi , chỉ vậy nó k hiểu cc j đâu =)))))))))))
 

Dwayne

Active member
Joined
Jun 4, 2014
Messages
125
Reaction score
0
Shakira said:
máy thằng vn ngu lám chỉ nó tận răng hoặc post file lên thì nó tải về thôi , chỉ vậy nó k hiểu cc j đâu =)))))))))))

thế mày người nước nào?
#occho
 

Momo92

Active member
Joined
Aug 21, 2013
Messages
42
Reaction score
0
Ok so with this line #IfWinActive, GTA:SA:MP the following hotkeys are only executed when the GTA window is active. If something doesn't work then please give a detailed explanation of what is going on and maybe post the important part of your script or an example of what you did.
 

Shakira

Active member
Joined
Jul 11, 2014
Messages
191
Reaction score
0
Dwayne said:
Shakira said:
máy thằng vn ngu lám chỉ nó tận răng hoặc post file lên thì nó tải về thôi , chỉ vậy nó k hiểu cc j đâu =)))))))))))

thế mày người nước nào?
#occho

Bố mày là việt nam mà đéo có nhục theo kiểu đi xin hack rồi về ra vẻ ta đây?
#sốngảo
#thểhiện
 

Dwayne

Active member
Joined
Jun 4, 2014
Messages
125
Reaction score
0
Momo92 said:
Momo92Ok so with this line #IfWinActive, GTA:SA:MP the following hotkeys are only executed when the GTA window is active. If something doesn't work then please give a detailed explanation of what is going on and maybe post the important part of your script or an example of what you did.

I need AHK like this cleo. It's auto /getmats.
 

Attachments

  • auto_getmats.cs
    19.3 KB · Views: 19

MDA

Active member
Joined
Jun 15, 2016
Messages
32
Reaction score
0
i found this on ahk forum
Code:
SetTitleMatchMode, 2 ; This let's any window that partially matches the given name get activated
#IfWinActive, Chrome
F1::MsgBox You are currently using Google Chrome
 
#IfWinActive, Notepad
F1::MsgBox You are currently using Notepad
 
#IfWinActive, Firefox
F1::MsgBox You are currently using Firefox
 
#IfWinActive, ABBY Screenshot Reader
F1::MsgBox You are currently using ABBY Screenshot Reader
 
#If
F1::MsgBox You are currently using a program that is not Chrome, Notepad, Firefox, or ABBY Screenshot Reader.
 

Dwayne

Active member
Joined
Jun 4, 2014
Messages
125
Reaction score
0
MDA said:
i found this on ahk forum
Code:
SetTitleMatchMode, 2 ; This let's any window that partially matches the given name get activated
#IfWinActive, Chrome
F1::MsgBox You are currently using Google Chrome
 
#IfWinActive, Notepad
F1::MsgBox You are currently using Notepad
 
#IfWinActive, Firefox
F1::MsgBox You are currently using Firefox
 
#IfWinActive, ABBY Screenshot Reader
F1::MsgBox You are currently using ABBY Screenshot Reader
 
#If
F1::MsgBox You are currently using a program that is not Chrome, Notepad, Firefox, or ABBY Screenshot Reader.

i dont understand that but thanks
 
Top