Jump to content
Sign in to follow this  
mwpeck

Toggle ALT Key?

Recommended Posts

mwpeck

I havnt dont too much Auto-it, just some basic stuff to automate a few windows things. I've done some auto-it things for games too. But now I'm trying to make a toggle for the ALT key so I can push a key once, and it will set ALT to {ALT down} that part works, but I cannot get it to set it to {ALT up} when I push the key again.

NOTE: I am using the Pause key because you cant hotkey just ALT.

Anyone know how to do this or possible already have a working script that does something like this? If so, please let me know how to do it.

Share this post


Link to post
Share on other sites
Thatsgreat2345

i think the reason is because alt is down and its not seeing just that key its seeing Alt + Pause so for your hotkey to send alt up your going to have to make it ALT + Pause instead of just pause

Share this post


Link to post
Share on other sites
mwpeck

i think the reason is because alt is down and its not seeing just that key its seeing Alt + Pause so for your hotkey to send alt up your going to have to make it ALT + Pause instead of just pause

Awesome, that worked, thanks. As soon as you said that, I smacked myself in the head for feeling so stupid >.<

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.