AutoHotkey Community

It is currently May 27th, 2012, 8:58 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: August 6th, 2006, 12:34 am 
Offline

Joined: April 5th, 2004, 7:24 pm
Posts: 98
Location: Connecticut USA
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.
          }


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: August 6th, 2006, 1:33 am 
Offline

Joined: October 1st, 2005, 9:55 pm
Posts: 775
Location: Texas, USA
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...


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: August 6th, 2006, 2:32 am 
Offline

Joined: April 5th, 2004, 7:24 pm
Posts: 98
Location: Connecticut USA
it works!!

WMPTransition is the secret to success!!

many thanks,


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: BrandonHotkey, hyper_ and 67 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group