The script should ask for the number in the variable and send a key. After that it should change the variable to two.
So when you hit spacebar again it should produce a different key and set the variable to three. But for some reason the script is not working...
Any idea what im doing wrong?
Code: Select all
~^Space::
spacecount = 1
if (spacecount = 1)
{
send {A}
spacecount = 2
}
if (spacecount = 2)
{
send {B}
spacecount++
return
}
Greetings Aztekke