BrammerTheHammer Posted April 8, 2009 Share Posted April 8, 2009 I am trying to set keyboard shortcuts which involve the windows key / flag key. All the function and programs I have tried for setting these have some limitations or bugs, which are caused by conflicts with Windows. Is there any way to capture all keyboard activity while the windows key is pressed down, preventing the events from passing through to the operating system, but still being able to assign them to keyboard shortcuts? Or, if you know of a different way of accomplishing this, please let me know. Thanks, BTH Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted April 8, 2009 Moderators Share Posted April 8, 2009 I am trying to set keyboard shortcuts which involve the windows key / flag key. All the function and programs I have tried for setting these have some limitations or bugs, which are caused by conflicts with Windows. Is there any way to capture all keyboard activity while the windows key is pressed down, preventing the events from passing through to the operating system, but still being able to assign them to keyboard shortcuts? Or, if you know of a different way of accomplishing this, please let me know.Thanks,BTHWhy would you need to over-ride windows defaults? 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...
Skruge Posted April 8, 2009 Share Posted April 8, 2009 Is there any way to capture all keyboard activityRegardless of your intentions, this sends up a red flag. I won't help you with that particular method.However, I looked at your previous posts and your purpose appears to be consistent.You can try this to disable the default Win+{key} combinations...The page is geared toward Vista, but I know it works on XP as well.http://www.vistax64.com/tutorials/77881-windows-hotkeys.html @SmOke_N: I've used this to replace the Run dialog with my own launcher, and assign new functionality to Win+D combo since Win+M/Win+Shift+M do the job. (better, imho)Also, there are potential vulnerabilities around Win+U, but I won't get into that here. [font="Tahoma"]"Tougher than the toughies and smarter than the smarties"[/font] Link to comment Share on other sites More sharing options...
CodyBarrett Posted April 8, 2009 Share Posted April 8, 2009 keylogging is not allowed even TALKING about it is frowned upon.. so please keep the malicouse programming to a minnimum of NULL! and if this is toward a project that is about changing the system hotkeys.. then.. yeah [size="1"][font="Tahoma"][COMPLETED]-----[FAILED]-----[ONGOING]VolumeControl|Binary Converter|CPU Usage| Mouse Wrap |WinHide|Word Scrammbler|LOCKER|SCREEN FREEZE|Decisions Decisions|Version UDF|Recast Desktop Mask|TCP Multiclient EXAMPLE|BTCP|LANCR|UDP serverless|AIOCR|OECR|Recast Messenger|AU3C|Tik-Tak-Toe|Snakes & Ladders|BattleShips|TRON|SNAKE_____________________[u]I love the Helpfile it is my best friend.[/u][/font][/size] Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted April 8, 2009 Moderators Share Posted April 8, 2009 keylogging is not allowed even TALKING about it is frowned upon.. so please keep the malicouse programming to a minnimum of NULL!and if this is toward a project that is about changing the system hotkeys.. then.. yeahAlthough I'm sure your intentions are for the good of the forum. Please refrain from posting in such posts with factual statements (until you are 100% sure they are indeed factual) and you learn proper grammar. 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...
CodyBarrett Posted April 8, 2009 Share Posted April 8, 2009 i know my grammar is terrible.. and i apologize.. it DOES sound like a keylogger, and im just tired of people thinking Autoit is only good for Boting or keylogging... [size="1"][font="Tahoma"][COMPLETED]-----[FAILED]-----[ONGOING]VolumeControl|Binary Converter|CPU Usage| Mouse Wrap |WinHide|Word Scrammbler|LOCKER|SCREEN FREEZE|Decisions Decisions|Version UDF|Recast Desktop Mask|TCP Multiclient EXAMPLE|BTCP|LANCR|UDP serverless|AIOCR|OECR|Recast Messenger|AU3C|Tik-Tak-Toe|Snakes & Ladders|BattleShips|TRON|SNAKE_____________________[u]I love the Helpfile it is my best friend.[/u][/font][/size] Link to comment Share on other sites More sharing options...
BrammerTheHammer Posted April 9, 2009 Author Share Posted April 9, 2009 However, I looked at your previous posts and your purpose appears to be consistent.You can try this to disable the default Win+{key} combinations...The page is geared toward Vista, but I know it works on XP as well.http://www.vistax64.com/tutorials/77881-windows-hotkeys.html The problem with the above method is that it does not disable all the Windows hotkeys (Win+U, Win+L), and does not prevent the start menu from opening when the Win key is pressed. In XP I was able to separately disable Win+U, Win+L, and then use isPressed to assign those hotkeys. In 32bit OSs I am able to use WinKey Kill to block the start menu from opening when the Winkey is pressed. In 64bit Vista / Win7 neither of these work.I also have more problems with the alt key in Vista / Win7, but seem to have gotten around that by using the code given here: http://www.autoitscript.com/forum/index.ph...c=90492&hl=If you have any other suggestions please let me know.Thanks,BTH 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