| View previous topic :: View next topic |
| Author |
Message |
Visioneer
Joined: 19 Nov 2007 Posts: 144
|
Posted: Wed May 27, 2009 5:00 am Post subject: Detect Realplayer playstate or insure it's paused |
|
|
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 |
|
 |
DreymaR
Joined: 24 May 2009 Posts: 89 Location: Bćrum, Norway
|
Posted: Wed May 27, 2009 8:07 am Post subject: |
|
|
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 |
|
 |
Visioneer
Joined: 19 Nov 2007 Posts: 144
|
Posted: Thu May 28, 2009 1:51 am Post subject: |
|
|
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 |
|
 |
|