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 

Detect Realplayer playstate or insure it's paused

 
Reply to topic    AutoHotkey Community Forum Index -> General Chat
View previous topic :: View next topic  
Author Message
Visioneer



Joined: 19 Nov 2007
Posts: 144

PostPosted: Wed May 27, 2009 5:00 am    Post subject: Detect Realplayer playstate or insure it's paused Reply with quote

Hi,

Is there a way to get the playstate of Realplayer running locally
on a pc W98-XP-Vista?

I need to insure it is "paused", not playing, or stopped.

It is easy enough to toggle the play/pause, but I need to
make sure it is in the paused state, for both regular and
full screen theatre modes.

Thanks
Back to top
View user's profile Send private message
DreymaR



Joined: 24 May 2009
Posts: 89
Location: Bćrum, Norway

PostPosted: Wed May 27, 2009 8:07 am    Post subject: Reply with quote

Best way would be to SendMessage, I think? See the help file under 'messages' for how to find which message code the player uses for Pause. Then just send it that code.
_________________
Better burden you cannot carry than man-wisdom much -- Hávamál
Back to top
View user's profile Send private message
Visioneer



Joined: 19 Nov 2007
Posts: 144

PostPosted: Thu May 28, 2009 1:51 am    Post subject: Reply with quote

Thanks for you response. However I think that sending a pause
message whether by sendmessage or sendPlay, or controlsend,
would only "TOGGLE" the pause/play state. I wanted to be able to
detect the state for certain. I imagine there would be several
states like loading, playing, paused, stopped, seeking etc.
Trying certain things when the player is in certain states can
often crash Realplayer.

Thanks
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    AutoHotkey Community Forum Index -> General Chat 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