MSFN Forum: Disable win+space hotkey - MSFN Forum

Jump to content



Windows 7 forum rules

If you have questions about customizing Windows 7 that are vLite-specific, please post them in the vLite forum, not here. If you have questions regarding the unattended installation of Windows 7, please post them in the Unattended Windows 7/Server 2008 R2 section.
Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Disable win+space hotkey But only that, and not every win+* key

#1 User is offline   WishCow 

  • Newbie
  • Group: Members
  • Posts: 13
  • Joined: 01-March 04

Posted 06 December 2009 - 10:28 AM

Hey

If someone can answer my question, he/she shall receive my eternal gratitude. I have been looking for this for 2 hours, and I cannot find a solution.

The problem:

I want to use the win+space shortcut for Launchy, but windows wants to steal that from me for some "peek desktop" thingy.
This combination is burned to my fingers like alt+tab is, so I really really don't want to change it. I also use the same combination for Gnome-Do in Ubuntu.
I have read that you can disable all the windows+* key combinations with a registry entry, but I want to keep the win+e win+r win+d shortcuts.

So:
How can I disable only, and only the win+space shortcut? I don't care if I have to turn to dll hacking, registry editing, file deleting, killing someone, whatever, just give me back my win+space.

This post has been edited by WishCow: 06 December 2009 - 10:36 AM



#2 User is offline   jaclaz 

  • The Finder
  • Group: Developers
  • Posts: 9,108
  • Joined: 23-July 04
  • OS:none specified
  • Country: Country Flag

Posted 06 December 2009 - 11:43 AM

Autohotkey overriding:
http://www.autohotke...ocs/Hotkeys.htm
http://www.autohotke...sc/Override.htm

Should work.

jaclaz

#3 User is offline   WishCow 

  • Newbie
  • Group: Members
  • Posts: 13
  • Joined: 01-March 04

Posted 06 December 2009 - 01:53 PM

Thank you for the great suggestion, but unfortunately it's not good.
I managed to override the shortcut, but Launchy still says "The hotkey is already in use".

I'll try looking through the docs, maybe I can simulate another key combination.

#4 User is offline   jaclaz 

  • The Finder
  • Group: Developers
  • Posts: 9,108
  • Joined: 23-July 04
  • OS:none specified
  • Country: Country Flag

Posted 06 December 2009 - 02:16 PM

View PostWishCow, on Dec 6 2009, 08:53 PM, said:

Thank you for the great suggestion, but unfortunately it's not good.
I managed to override the shortcut, but Launchy still says "The hotkey is already in use".

I'll try looking through the docs, maybe I can simulate another key combination.


I would try assigning "Launchy" (whatever it is) to that key combination from INSIDE autohotkey....

jaclaz

#5 User is offline   WishCow 

  • Newbie
  • Group: Members
  • Posts: 13
  • Joined: 01-March 04

Posted 06 December 2009 - 02:25 PM

Ha! Managed to get it work with the following:

#space::
Keywait LWin
SendInput ^{Space}


Thank you for the suggestion! I love you!

This post has been edited by WishCow: 06 December 2009 - 02:26 PM


#6 User is offline   jaclaz 

  • The Finder
  • Group: Developers
  • Posts: 9,108
  • Joined: 23-July 04
  • OS:none specified
  • Country: Country Flag

Posted 07 December 2009 - 07:19 AM

View PostWishCow, on Dec 6 2009, 09:25 PM, said:

I love you!

:wub:
As long as you won't ask me to marry you, I guess it's allright ;), my wife won't like it, though. :w00t:

:P

jaclaz

#7 User is offline   HerbCSO 

  • Group: Members
  • Posts: 1
  • Joined: 09-October 10
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 09 October 2010 - 02:02 PM

View PostWishCow, on 06 December 2009 - 02:25 PM, said:

Ha! Managed to get it work with the following:

#space::
Keywait LWin
SendInput ^{Space}


Thank you for the suggestion! I love you!


Love it, too! ;]

I personally didn't like the fact that this particular script requires me to release the Win key before it sends the Control-Space, so I did the following instead:

#space::SendInput !{Space}


That way Launchy appears immediately (and oh yeah, I use Alt-Space for Launchy instead of Control-Space, although I might change the hotkey for Launchy to something completely bizarre now that I have my beloved Win-Space back!).

Wonderful stuff, I'm so glad I finally found this! ;] Thanks guys!

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy