I found this code from a forum and its supposed to do the following: when I press the x key on my keyboard every other time it registers it as x and every other time as 3. However, its just binds the key x into 3 and doesnt toggle between the two.
count = 1
x::
If count = 1
{
Send x
count = 2
Return
}
Else If count = 2
{
Send 3
count = 1
Return
}
Return
Why doesnt this script work? Topic is solved
Re: Why doesnt this script work?
Code: Select all
$x::Send % (toggle := !toggle) ? "x" : 3
Who is online
Users browsing this forum: No registered users and 53 guests