DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: Windows Key ONLY for hotkey  (Read 9,127 times)

Doppelganger

  • Participant
  • Joined in 2007
  • *
  • Posts: 8
Windows Key ONLY for hotkey
« on: March 16, 2010, 06:48 PM »
I would like to launch FARR by just hitting the Win key (and then I'll use Ctrl-Esc if I want to access the Start Menu from the keyboard).

Is this possible?  The Win key is not in the list of keys, and selecting a modifier without a key doesn't appear to be an option.

AndyM

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 616
Re: Windows Key ONLY for hotkey
« Reply #1 on: March 17, 2010, 07:32 PM »
You can probably do this with a simple autohotkey script.  I say probably only because I don't know if the Windows key presents any particular problems, not having re-assigned it myself using autohotkey.

It would be a very short script, simply assigning to the Windows key the key combination that starts FARR.  After that, the only thing that will happen when you press the Windows key is that the hotkey for FARR will be sent.

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
Re: Windows Key ONLY for hotkey
« Reply #2 on: March 17, 2010, 07:35 PM »
I'll see if i can enable this internally -- seems like a neat idea to use windows button for FARR.

TucknDar

  • Advanced coder of Nowt
  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 1,133
Re: Windows Key ONLY for hotkey
« Reply #3 on: March 18, 2010, 08:57 AM »
You can do it with AutoHotkey. I found a solution in this thread: http://www.autohotkey.com/forum/topic46323.html

The required code:
Code
~LWin::
   Input,v,L1 M
   If ErrorLevel=Max
      Send, #{%v%}
   else if ErrorLevel=NewInput
     Run, c:\Program Files (x86)\FindAndRunRobot\FindAndRunRobot.exe -show
Return
~LWin Up::
   Input
Return
Obviously set the correct FARR path.

edit: Completely unrelated, but is there a thread to make your 1000th post? ;)
[attachimg=#]
« Last Edit: March 18, 2010, 09:00 AM by TucknDar »

tomos

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 11,970
    • Gathering Badge
    • Participated in NANY Challenge Once
Re: Windows Key ONLY for hotkey
« Reply #4 on: March 18, 2010, 09:08 AM »
Tom

ewemoa

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 2,922
    • Plugin Coding Medal
    • Participated in NANY Challenge Three Times
Re: Windows Key ONLY for hotkey
« Reply #5 on: March 19, 2010, 11:43 PM »
You can do it with AutoHotkey. I found a solution in this thread: http://www.autohotkey.com/forum/topic46323.html

Excellent find!  Thanks for sharing  :Thmbsup:

Original address: https://www.donationcoder.com/forum/index.php?topic=22134.0