Jump to content

{LWIN} & {RWIN} Commands not working


Recommended Posts

First: I'm fairly new to autoit, but I have been working with it for a few weeks. This isn't anything big, but it's suposed to work.

I recently wanted to make a simple program used to disable the windows key (left and right) for when you're in a first person shooter (how annoying).

Here's my code:

HotKeySet("{RWIN}", "_Nothing")
HotKeySet("{LWIN}", "_Nothing")

While 1
   Sleep(500)
WEnd

Func _Nothing()
 ; Nothing
EndFunc

Here's the problem I've found: The command {LWIN} & {RWIN} don't work.

Any sugestions? :whistle:

Link to comment
Share on other sites

  • Moderators

Do a search for exactly what your looking (Disabling the Win keys) for and you'll see a few things on it, it's been brought up in the past week even I believe.

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

Link to comment
Share on other sites

I've read 6 pages total trying to find this command. 4 being of one search, and 2 being of another search. Neither of which I found my solution.

Sorry for not saying I have searched previously.

Edit: Spelling

Edited by Meatball
Link to comment
Share on other sites

  • Moderators

I've read 6 pages total trying to find this command. 4 being of one search, and 2 being of another search. Neither of which I found my solution.

Sorry for not saying I have searched previously.

Edit: Spelling

1 Search = http://www.autoitscript.com/forum/index.ph...=Disable+WinKey

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...