AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

media player 10 - IfWinActive problem w/Full Screen

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
jamestr



Joined: 05 Apr 2004
Posts: 96
Location: Connecticut USA

PostPosted: Sun Aug 06, 2006 12:34 am    Post subject: media player 10 - IfWinActive problem w/Full Screen Reply with quote

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
View user's profile Send private message
jballi



Joined: 01 Oct 2005
Posts: 349
Location: Texas, USA

PostPosted: Sun Aug 06, 2006 1:33 am    Post subject: Reply with quote

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
View user's profile Send private message
jamestr



Joined: 05 Apr 2004
Posts: 96
Location: Connecticut USA

PostPosted: Sun Aug 06, 2006 2:32 am    Post subject: Reply with quote

it works!!

WMPTransition is the secret to success!!

many thanks,
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group