Problem script
#1
Antonio95
Posted 10 April 2012 - 09:06 PM
I've downloaded AutoHotkey because i need for make a script.
do you can write a script?
when I press the space should be as I pressed 3 times.
I need to get this game, haxball.
Help me please!
#2
Posted 10 April 2012 - 10:08 PM
Here is the code for you;
$Space::Send, {Space 3}If it will not work, try replacing Send with SendPlay
#3
Antonio95
Posted 11 April 2012 - 11:14 AM
When press 'space' in that game don't repeat .
The game is haxball.com
Please can you try to solve
#4
Posted 11 April 2012 - 12:55 PM
I'm sorry but don't function..
When press 'space' in that game don't repeat .
The game is haxball.com
Please can you try to solve
Hi, Antonio!
Have you tried with SENDPLAY, as Learning one said before?
#5
Antonio95
Posted 11 April 2012 - 01:06 PM
while Play function but when press space don't repeat..
#6
Posted 11 April 2012 - 01:31 PM
You say "function", i think you speak Spanish (like me).
Instead of Function, say works (en vez de function, dí works).
About the program, try this:
$Space::
Loop, 3
{
Send, {Space}
Sleep, 10
}
return
#7
Antonio95
Posted 11 April 2012 - 04:22 PM
Try to get into the game Haxball and press space,
you will see that the lights pg.
I need that every time I press the space must be valid for 3
#8
Antonio95
Posted 11 April 2012 - 04:29 PM
~space::
Send {space left}{space right}{space down}{space up}
returnNow I have to make sure that when I change direction with the arrow keys (left, right, up, down) and hit the space continues to press.
#9
Antonio95
Posted 12 April 2012 - 08:14 PM
#10
Posted 12 April 2012 - 08:25 PM
{space left} {space right}
I think that does not exist in ahk.
I have alredy told you to use "up" and "down" options. Glad that works.
Now, i don't understand your request.
when I change direction with the arrow keys and hit the space continues to press.
You mean that when you press the keys, space should be pressed too?
If so, you can add this to the code:
~Left::
Send, {Space}
return
~UP::
Send, {Space}
return
~Down::
Send, {Space}
return
~Right::
Send, {Space}
return
#11
Antonio95
Posted 12 April 2012 - 09:36 PM
But for example if I'm going to the right and I hold down the space it's ok, but if I change direction and I always pressed space it does not work continuously.
Try it yourself in the game ..




