as the title says i want to have a key to activate another chosen script so i press the casual key executor but nothing gets executed of the script until i use the other key.
probably would look like
e::
if g = toggle
send bla
else g = !toggle
do nothing
return
my intention is i press e, e does nothing but if i press g afterwards bla will be sent
i will use the g key for half of the ahk file which has like 20 scripts
so it would be nice too to see if its possible to not repeat the if g 20 times but having it as a mother somehow
im really eager to your replies and i suck at scripts so lets skip that part. thanks
send key to choose script and another to activate it
-
- Posts: 5
- Joined: 12 Oct 2018, 11:16
-
- Posts: 5
- Joined: 12 Oct 2018, 11:16
Re: send key to choose script and another to activate it
point of which is too many hotkeys makes it hard for the hand to reach some of the keys needed cs they so far from finger, so its like i prepare for micro war and then the ez pz no choke click does the job
-
- Posts: 5
- Joined: 12 Oct 2018, 11:16
Re: send key to choose script and another to activate it
i finally ended up getting something to work
~Numpad8::Input, UserInput, V, {PgDn}
if (UserInput = "PgDn")
sleep 1
send abc
return
~Numpad8::Input, UserInput, V, {PgDn}
if (UserInput = "PgDn")
sleep 1
send abc
return
Who is online
Users browsing this forum: No registered users and 45 guests