Tuesday, 27 August 2013

Simulate cmd+w on windows

Simulate cmd+w on windows

Using autohotkey, I want to simulate hitting cmd+w on a mac. That is, to
close the window.
There's a difference between closing a window (cmd+w) and closing a
program (cmd+q). I have mapped #q to !F4. using
#q::send !{F4}



I tried
#w::WinClose
and
#w::WinKill
without success.

No comments:

Post a Comment