I'd like to map Win+q to quit.

How can I do this in Windows 7? Can I do this in Autohotkey? How?

link|improve this question
feedback

1 Answer

up vote 2 down vote accepted

Assuming you just want to exit the current program, this AutoHotKey script should do the trick:

;Activate on Windows key + q
#q::

;Simulate Alt + F4 being pressed
Send !{F4}
link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.