Jump to content

BrammerTheHammer

Members
  • Posts

    11
  • Joined

  • Last visited

Everything posted by BrammerTheHammer

  1. 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
  2. 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
  3. OMG, thank you, I have been looking for this for a long time, I was about to write a program from scratch. I am try to make a my own hotkeys, such as Win+Alt+F calling a function which sends a Shift+Right. Using HotKeySet the alt key would randomly get passed to the active window 50% of the time. So far, using your program the alt key only gets passed if I have an Office2007 app or OpenOffice as the active window and press the windows key first. Do you know of any way to fix this small problem, other than training myself to press the alt key first? Also, is there a way to use your program to capture the windows key so that it does not open the StartMenu, but still works for the hot keys? I tried capturing using VK_LWIN but it blocked the hot keys that used CK_WIN. I will be trying to set approximately 90 hot keys, including the blocked ones (Win+K, Win+U). I will reply to this thread with my findings. Again, thank you, this is a vast improvement. BTH
  4. I have written a program which sets a lot hotkeys. It worked perfectly 99% of the time in WinXP, but in Vista and Win7 hotkeys which involve the alt key now allow the alt key to be passed through to the active window. This causes me to end up in the active window's menu. I would like to block the alt, while allowing my hotkeys to work. Specifically, I would like it to be blocked only while the Windows / flag key is being pressed. I have tried using both HotKeySet and isPressed with the program given here: #620880 This seemed to be able to block the alt key but it also blocked my hotkeys. Does anyone know how to do this or some other way to prevent the alt key from being passed through? Thanks, BTH
  5. The Start Menu opening occurs more often when sending Ctrl+f4 or Alt+f4. I have attached my current script which uses Win+B and Win+5 to perform those actions. I tried reducing my Sleep time to 10 but that didn't help so I set it back to 100. I also found another peculiar phenomenon. If I define a Win+Alt+ hotkey to send a Ctrl+ combination. This causes the alt key to become locked as if you have sent an AltDown keycode, very annoying. After experimenting some I found this only happened when pressing the right Alt key; so I remapped the right Alt key to the left Alt keycode and it fixed the problem. Out of curiosity, I also found that the exact same phenomenon exists for the Ctrl and Shift keys. BTW, I used KeyTweak to do the remapping, all it does is make the appropriate Registry edits to perform the remappings. Andreik, thanks for suggesting WKeyKill; it seems to fix my problem with the Start Menu opening and the Windows key getting stuck in a WinDown state. I tested four different programs to prevent the Start Menu opening and it worked the best. The results of my test are below if anyone is interested. Thanks for your help, BTH DisableWinKey: Freeware. Does not work if run from the Startup folder. Private bytes: 1040K Virtual size: 31800K Working bytes: 3344K WKeyKill: Freeware. Works from Startup folder. No icon in taskbar. Private bytes: 780K Virtual size: 20608K Working bytes: 2896K WinKey Disabler: Shareware, 15days free. Completely disables Windows key, including user defined Windows key shortcuts. Private bytes: 5268K Virtual size: 67576K Working bytes: 11904K Easy WinKey Blocker: Nagware, every five times it blocks Windows key it nags you to purchase. Completely disables Windows key, including user defined Windows key shortcuts. Private bytes: 17220K Virtual size: 144916K Working bytes: 19040K HotKeys.au3
  6. I have pretty given up on doing it directly in my program. I am trying out several programs to disable the Start Menu opening when pressing the Windows key: DisableWinKey WKeyKill WinkeyDisabler EasyWinKeyBlocker Ill try the FileInstall with each of these, thanks for the suggestion. Ill post here stating which ones work the best. By the way, the WinKey program I was using before is buggy: it does not always work and it causes programs like GIMP to crash when using internal keyboard shortcuts such as ctrl+O. Thank you for all your help, BTH
  7. Those registry edits completely disabled the windows key, so that I can't even use them Autoit's HotKey or isPressed function. I only want to disable the Start Menu opening when I press the windows key. I tried monitoring the WinKey program and believe it sets this with its own WinKeyHook.dll. However, I do not know what information / command is being sent to it. Does any one know how to tell what is going on with this dll. I have attached the dll, the entire program can be downloaded from: http://www.brothersoft.com/winkey-11286.html. Thanks, BTH WinKeyHook.dll
  8. Neither of these worked the both completely disabled the windows key, so that I can't even use them Autoit's HotKey or isPressed function. If you come up with anything else please let me. Tonight, I'll try running process monitor to see if I can catch what this WinKey program is doing when it disables the Windows key. Thanks, BTH
  9. I tried the registry change listed in your PCTools link - no effect. I forgot to mention I have already disabled the default Win+X keys (except U and L) using TweakUI which does the same as the Microsoft link you provided. In addition I used used a Group Policy change and Registry edit to disable Win+U and Win+L, respectively. I want to disable the Start Menu opening when I press the Windows key. Thanks, BTH P.S. I do appreciate the quick response.
  10. I have made a script to designate my own hotkeys. However, I have problems with the hotkeys which use a Windows key for the shortcut. Such as using Win+w to send PgUp, which causes the Start Menu to open and looses focus of the active window. or Win+z to send Alt+F4, which causes a {WinDown} effect. I found a program (WinKey by Copernic) that allows me to disable the use of the Windows key to open the start menu and fix both of the above problems, but that is the only thing I want use it for. Does anyone know how to use Autoit to disble the Windows key in the same or similar way as the WinKey software? Thanks, BTH
  11. 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
×
×
  • Create New...