home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
MediaPortal 1 Plugins
Waking from standby - powerbroadcasts..
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="KXE_DENMARK" data-source="post: 53653" data-attributes="member: 20466"><p>I am working on a plugin that is able to turn my TV on and off when the PC is going into / coming out of standby.</p><p>This does allready work.. sort of.</p><p></p><p>If I press the power button when the PC is in standby, I get a WM_POWERBROADCAST: 18, followed by a WM_POWERBROADCAST: 7</p><p>The latter has this constant: PBT_APMRESUMESUSPEND</p><p>I cant seem to find a constant for the first one, does anyone know the meaning of it ?</p><p></p><p>Also, I want to be able to distinct between when the PC wakes because it need to record a program (I use PVR scheduler) or when it is started manually.</p><p></p><p>The only difference I have found so far is that the WM_POWERBROADCAST: 7 is not fired when PVR scheduler wakes the PC.</p><p></p><p>Any thoughts ?</p></blockquote><p></p>
[QUOTE="KXE_DENMARK, post: 53653, member: 20466"] I am working on a plugin that is able to turn my TV on and off when the PC is going into / coming out of standby. This does allready work.. sort of. If I press the power button when the PC is in standby, I get a WM_POWERBROADCAST: 18, followed by a WM_POWERBROADCAST: 7 The latter has this constant: PBT_APMRESUMESUSPEND I cant seem to find a constant for the first one, does anyone know the meaning of it ? Also, I want to be able to distinct between when the PC wakes because it need to record a program (I use PVR scheduler) or when it is started manually. The only difference I have found so far is that the WM_POWERBROADCAST: 7 is not fired when PVR scheduler wakes the PC. Any thoughts ? [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
Waking from standby - powerbroadcasts..
Contact us
RSS
Top
Bottom