Sign in to follow this  
Followers 0
BrammerTheHammer

ispressed and Win key

1 post in this topic

Short description: the isPressed function in my script does not recognize my right Windows key but does recognize my left Windows key.

Long description:

I have an AutoIt script, which I use to define many hotkeys. I wanted to redefine all the Windows key hotkeys. So I used TweakUI to turnoff the default Win+X commands. I had to use a registry edit and a Group Policy to disable the default Win+L and Win+U actions. However Hotkey function still did not work with these two hotkeys. So I decided to define them with isPressed. These two hotkeys are to be captured by another program, therefore I have my script send a key combination I would never use. But the isPressed function only works with the left Windows key and not the right. I tried remapping my right Windows key to be the left Windows key, which fixed this problem but caused another much worse problem (caps lock effect of the Windows key).

Does anyone know of a solution to this problem, or have any insight into it?

I have attached my script.

Thanks,

BTH

HotKeys.au3

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  
Followers 0