How to make AutoHotkey recognize the active window?

1

1

I remapped my wheel mouse for Windows Media Player. The remap works unless I change to full screen mode. Then AutoHotkey does not recognize it as the active window, and the remaps don't work.

How to fix this?

Phenom

Posted 2009-12-29T05:07:11.453

Reputation: 6 119

Answers

1

F8 and F9 will modify the volume, and will work in fullscreen mode as well. I'd map your mouse wheel to send those keys instead.

John T

Posted 2009-12-29T05:07:11.453

Reputation: 149 037

It is mapped to F8 and F9 for Windows Media Player, but it only works when it recognizes that Windows Media Player is the active window. – Phenom – 2009-12-29T15:50:43.390

You can use controlsend to send it to the WMP window if it exists: http://www.autohotkey.com/docs/commands/ControlSend.htm

– John T – 2009-12-29T16:27:05.453