| View previous topic :: View next topic |
| Author |
Message |
jamestr
Joined: 05 Apr 2004 Posts: 96 Location: Connecticut USA
|
Posted: Sun Aug 06, 2006 12:34 am Post subject: media player 10 - IfWinActive problem w/Full Screen |
|
|
can not get "ifwinactive" to work when wmp 10 is in full screen. Ifwinactive works ok when wmp10 is 'windowed' (not fullscreen).
any idea whats going on??
thanks
| Code: | SetTitleMatchMode, 2
WheelDown::
IfWinActive, ahk_class WMPlayerApp
{
MsgBox, 0, , Processing Initiated , 1.
} |
|
|
| Back to top |
|
 |
jballi
Joined: 01 Oct 2005 Posts: 349 Location: Texas, USA
|
Posted: Sun Aug 06, 2006 1:33 am Post subject: |
|
|
The Windows Media Player (WMP) has a habit (I'm not sure if it's good or bad) of changing the class name when changing from one window view (or mode) to another. In addition to the standard WMPlayerApp class, WMP also uses WMP Skin Host class (skin mode) and WMPTransition class (full screen). There are probably others but I haven't come across them yet.
Give the WMPTransition class a try/see.
I hope this is helps... |
|
| Back to top |
|
 |
jamestr
Joined: 05 Apr 2004 Posts: 96 Location: Connecticut USA
|
Posted: Sun Aug 06, 2006 2:32 am Post subject: |
|
|
it works!!
WMPTransition is the secret to success!!
many thanks, |
|
| Back to top |
|
 |
|