DonationCoder.com Software > Skwire Empire
Release: sWeather (tray-based weather app)
joiwind:
^ +2 :Thmbsup:
but still problems when coming out of sleep-mode...
ewemoa:
but still problems when coming out of sleep-mode...
-joiwind (May 09, 2011, 05:42 AM)
--- End quote ---
With respect to this, I've tested some code from:
http://www.autohotkey.com/forum/topic21697.html
Some (lightly edited) relevant bits include:
--- ---OnMessage(0x218, "DispatchOnResults")
Return
DispatchOnResults(wParam, lParam)
{
If (lParam = 0)
{
; PBT_APMSUSPEND or PBT_APMSTANDBY? -> System will sleep
If (wParam = 4 OR wParam = 5)
{
;
}
; PBT_APMRESUMESUSPEND or PBT_APMRESUMESTANDBY? -> System wakes up
If (wParam = 7 OR wParam = 8)
{
;
}
}
Return
}
What is master skwire's opinion on this matter? ;)
skwire:
My opinion is one of, "is it really that big of a deal to manually refresh it?" :tellme: Furthermore, just because a device comes out of hibernation doesn't guarantee that there is a network connection.
skwire:
I just uploaded v1.0.8 build 2 with the standy/hibernate tweak. I have it set so that, fifteen seconds after a resume from standby/hibernation, it will attempt a refresh. After that, it will go back to the default hourly refresh.
joiwind/ewemoa, please let me know if this works. Thanks.
ewemoa:
Thanks for making this attempt.
I have 1.0.8 build 2 on two machines now and hope to report back with how it works before too long.
P.S. Sorry for taking a bit for getting back to you on this.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version