[AHK] how to save and use inputted ID by myself

themultiman

Member
Joined
Oct 30, 2013
Messages
12
Reaction score
0
This is useful for RP sv
For example in Fire Dept. /getpt id >>> /movept id >>> /loadpt id slot >>> /deliverpt id. 
How to just input id once and next cmds is automatic
Big thanks
 

mistery

Well-known member
Joined
Apr 23, 2014
Messages
262
Reaction score
5
so you want to type /getpt 24(for example) and then autotype /movept 24 ,/loadpt 24 slot and /deliverpt 24?
how much sleep time between commands?
 

themultiman

Member
Joined
Oct 30, 2013
Messages
12
Reaction score
0
mistery said:
so you want to type /getpt 24(for example) and then autotype /movept 24 ,/loadpt 24 slot and /deliverpt 24?
how much sleep time between commands?
choose whatever you want. Then I can change it
It likes
1st hotkey:
sendinput /getpt[space}
*i input an id and ahk saves it*

2nd hotkey:
sendinput /whatevercmd id{enter}
*ahk auto input id inputted by me last time*

The only problem is that I dont know how to save id and which cmd to use for that
 

mistery

Well-known member
Joined
Apr 23, 2014
Messages
262
Reaction score
5
hmm i'll see
edit: http://www.mediafire.com/download/hl7uddt47rm34xd/autosend.ahk

pretty good, but i couldnt make it work in fullscreen without minimizing, takes a lot of time.
1= alt+enter, in order to minimize
2= textbox, where you enter ID
3= first command + the id you entered in textbox
4= second command + same
5= third + same
6= fourth + same
 

themultiman

Member
Joined
Oct 30, 2013
Messages
12
Reaction score
0
mistery said:
hmm i'll see
edit: http://www.mediafire.com/download/hl7uddt47rm34xd/autosend.ahk

pretty good, but i couldnt make it work in fullscreen without minimizing, takes a lot of time.
1= alt+enter, in order to minimize
2= textbox, where you enter ID
3= first command + the id you entered in textbox
4= second command + same
5= third + same
6= fourth + same

thank you very very much. I will test it
 
Top