Meatball Posted August 4, 2006 Share Posted August 4, 2006 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 EndFuncHere's the problem I've found: The command {LWIN} & {RWIN} don't work.Any sugestions? Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted August 4, 2006 Moderators Share Posted August 4, 2006 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 More sharing options...
Meatball Posted August 4, 2006 Author Share Posted August 4, 2006 (edited) 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 August 4, 2006 by Meatball Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted August 4, 2006 Moderators Share Posted August 4, 2006 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: Spelling1 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now