eaasy hotkey script please help
-
- Posts: 19
- Joined: 02 Aug 2017, 23:22
eaasy hotkey script please help
I want to make script that press spacebar and e button when i press n
Re: eaasy hotkey script please help
Nice to know!
-
- Posts: 19
- Joined: 02 Aug 2017, 23:22
Re: eaasy hotkey script please help
please help me
Re: eaasy hotkey script please help
Code: Select all
n:: ;hotkey, in this case n
send {space}e ;send characters, note, only special keys must be enclosed in braces
return ;return script to idle
f8::exitapp ;press f8 to close program
;save as SCRIPTNAME.ahk, then run to start script
Some of my AHK programs: 3D Voxel Game - Platformer Game
GitHub projects : Image/Pixel scanning class - Direct2D overlay class
GitHub projects : Image/Pixel scanning class - Direct2D overlay class
-
- Posts: 19
- Joined: 02 Aug 2017, 23:22
Re: eaasy hotkey script please help
i had wrote the same but when i push e with shift and w in game, it do nt work,only when it pushed aloneSpawnova wrote:Code: Select all
n:: ;hotkey, in this case n send {space}e ;send characters, note, only special keys must be enclosed in braces return ;return script to idle f8::exitapp ;press f8 to close program ;save as SCRIPTNAME.ahk, then run to start script
without return it also work.
Re: eaasy hotkey script please help
You will need to add a wildcard to your hotkey, so that it ignores other modifiersZergShadow wrote:when i push e with shift and w in game, it do nt work,only when it pushed alone
without return it also work.
Code: Select all
*n:: ;hotkey, in this case n, * allows hotkey to work regardless of control/shift/alt being held down
send {space}e ;send characters, note, only special keys must be enclosed in braces
return ;return script to idle
Some of my AHK programs: 3D Voxel Game - Platformer Game
GitHub projects : Image/Pixel scanning class - Direct2D overlay class
GitHub projects : Image/Pixel scanning class - Direct2D overlay class
-
- Posts: 19
- Joined: 02 Aug 2017, 23:22
Re: eaasy hotkey script please help
also i need that they work ssame time.Spawnova wrote:You will need to add a wildcard to your hotkey, so that it ignores other modifiersZergShadow wrote:when i push e with shift and w in game, it do nt work,only when it pushed alone
without return it also work.
Code: Select all
*n:: ;hotkey, in this case n, * allows hotkey to work regardless of control/shift/alt being held down send {space}e ;send characters, note, only special keys must be enclosed in braces return ;return script to idle
-
- Posts: 19
- Joined: 02 Aug 2017, 23:22
Re: eaasy hotkey script please help
how to make this work same time ? space and e in same moment.
-
- Posts: 22
- Joined: 12 Sep 2017, 03:13
Re: eaasy hotkey script please help
Hi,ZergShadow wrote:how to make this work same time ? space and e in same moment.
Code: Select all
sendmode,play ;or input
n::
send {space}{e}
return
-
- Posts: 19
- Joined: 02 Aug 2017, 23:22
Re: eaasy hotkey script please help
it dont work without *.yessorryno wrote:Hi,ZergShadow wrote:how to make this work same time ? space and e in same moment.
Code: Select all
sendmode,play ;or input n:: send {space}{e} return
And with * sometimes it work sometimes not.its sbout gameping?
-
- Posts: 22
- Joined: 12 Sep 2017, 03:13
Re: eaasy hotkey script please help
Hi,ZergShadow wrote:it dont work without *.yessorryno wrote:Hi,ZergShadow wrote:how to make this work same time ? space and e in same moment.
Code: Select all
sendmode,play ;or input n:: send {space}{e} return
And with * sometimes it work sometimes not.its sbout gameping?
Code: Select all
sendmode,play ;or input ,To execute in the game, please add this line of code, and vice versa do not need to add.
n::
send {space}{e}
return
-
- Posts: 19
- Joined: 02 Aug 2017, 23:22
Re: eaasy hotkey script please help
yessorryno wrote:Hi,ZergShadow wrote:it dont work without *.yessorryno wrote:Hi,ZergShadow wrote:how to make this work same time ? space and e in same moment.
Code: Select all
sendmode,play ;or input n:: send {space}{e} return
And with * sometimes it work sometimes not.its sbout gameping?Code: Select all
sendmode,play ;or input ,To execute in the game, please add this line of code, and vice versa do not need to add. n:: send {space}{e} return
nothing new in last post.sometimes it works and sometims not only with *
Re: eaasy hotkey script please help
ZergShadow wrote:yessorryno wrote:Hi,ZergShadow wrote:it dont work without *.yessorryno wrote:Hi,ZergShadow wrote:how to make this work same time ? space and e in same moment.
Code: Select all
sendmode,play ;or input n:: send {space}{e} return
And with * sometimes it work sometimes not.its sbout gameping?Code: Select all
sendmode,play ;or input ,To execute in the game, please add this line of code, and vice versa do not need to add. n:: send {space}{e} return
nothing new in last post.sometimes it works and sometims not only with *
Hey, maybe this can Help you !
Code: Select all
#Maxthreadsperhotkey 2
N::
If toggle := !Toggle
Loop
{
If toggle
{
Send, {Space}
Sleep, 10
Send, {E}
Sleep, 10
}
Else
break
}
return
-
- Posts: 19
- Joined: 02 Aug 2017, 23:22
Re: eaasy hotkey script please help
space::
send {space}{space}{space}{space}{space}{space}{space}{space}{space}{space}{space}{space}{space}{space}
return
howw to make one space make many ?its dont work.
send {space}{space}{space}{space}{space}{space}{space}{space}{space}{space}{space}{space}{space}{space}
return
howw to make one space make many ?its dont work.
-
- Posts: 19
- Joined: 02 Aug 2017, 23:22
Who is online
Users browsing this forum: ChrisHoX and 38 guests