Even if I risk to seem stupid, I don't know what Microsoft Surface is. What it is?
It is currently September 1st, 2024, 2:08 am
OnWakeAction
-
- Rainmeter Sage
- Posts: 16485
- Joined: October 11th, 2010, 6:27 pm
- Location: Gheorgheni, Romania
Re: OnWakeAction
-
- Posts: 858
- Joined: August 22nd, 2016, 11:32 pm
- Location: Surrey, B.C., Canada
Re: OnWakeAction
A very expensive tablet
The only source of knowledge is experience. Albert Einstein
Deviant Art Page
Deviant Art Page
-
- Rainmeter Sage
- Posts: 16485
- Joined: October 11th, 2010, 6:27 pm
- Location: Gheorgheni, Romania
Re: OnWakeAction
Oh, sorry for my stupid reply.
-
- Posts: 858
- Joined: August 22nd, 2016, 11:32 pm
- Location: Surrey, B.C., Canada
Re: OnWakeAction
No stupid questions only stupid answers
![Big Grin :D](./images/smilies/ag.gif)
The only source of knowledge is experience. Albert Einstein
Deviant Art Page
Deviant Art Page
-
- Rainmeter Sage
- Posts: 16485
- Joined: October 11th, 2010, 6:27 pm
- Location: Gheorgheni, Romania
-
- Posts: 32
- Joined: December 30th, 2011, 12:43 pm
- Location: Maryland, USA
Re: OnWakeAction
Anybody ever find a fix for this? I have a Microsoft Surface 5 Laptop (2022) and the onwakeaction does absolutely nothing.
-
- Rainmeter Sage
- Posts: 8003
- Joined: February 27th, 2015, 2:38 pm
- Location: Terra Yincognita
Re: OnWakeAction
"This" being the WebParser problem, or the inability to use the OnWakeAction on a MS Surface?
To be certain when it comes to the latter, does this, in the [Rainmeter] section:
Code: Select all
OnWakeAction=[!Log "Wake Action Happened"]
As for the WebParser possibility, maybe there's another acceptable way to deal with that issue.
P.S. If you're certain about the wake action issue, you can post a bug report in the corresponding forum section. The developers are a bit busy with other things for the time being, but maybe you'll get a more definitive answer - if folks do have an MS Surface to test things on, that is (which, TBH, might be part of the problem, as not many do, as far as I'm aware of).
-
- Developer
- Posts: 2723
- Joined: November 24th, 2011, 1:42 am
- Location: Utah
Re: OnWakeAction
It seems Microsoft changed something with power notificiations with the Windows Surface products. It has something to do with an "InstantGo" feature, but the internal workings of it and how to detect and respond to it are hardly documented (or at least not easily referenced by the "normal" power notifications documentation). I did come across some other developers talking about this and how to capture the normal power notifications for Surface products, but since I do not have access to a Surface machine, I cannot test it.
I made a special build with the changes, if you could please test this and report back if it worked for not, that would be really helpful!
https://builds.rainmeter.net/test_builds/Rainmeter-4.5.17.3723-prerelease-OnWakeAction.exe
-Brian
-
- Posts: 32
- Joined: December 30th, 2011, 12:43 pm
- Location: Maryland, USA
Re: OnWakeAction
thanks Brian. Happy to help. I installed Rainmeter using your link and the issue is still there. I used the following in the skin:
OnWakeAction=[!SetOption MeterString Text "10 seconds to Refresh"][!Delay 10000][!Refresh]
OnWakeAction=[!SetOption MeterString Text "10 seconds to Refresh"][!Delay 10000][!Refresh]
-
- Developer
- Posts: 2723
- Joined: November 24th, 2011, 1:42 am
- Location: Utah
Re: OnWakeAction
Thanks for testing that. While there are a few other options I can try, they might have to wait until we drop Windows 7/8/8.1.
In the meantime, if you don't mind testing 1 more version for now. It's basically the same version, so it probably won't work.....but this version comes with some extra logging to help me see if things are getting registered correctly, and if any power messages are getting broadcast when returning from sleep/hibernate.
Here is the new test build:
https://builds.rainmeter.net/test_builds/Rainmeter-4.5.17.3723-prerelease-OnWakeAction2.exe
Before running this version, could you turn on the "Debug mode" and "Log to file" ?
https://docs.rainmeter.net/manual/user-interface/manage/#SettingsTab
Also, could you test this with a simple bang, like Yincognito suggested? Something like OnWakeAction=[!Log "I just woke up!"]
Once those logging options are turned on and you change your OnWakeAction, you can install the new test build.
Once you return from sleep (or hibernate), please open the log file and post its contents here. It's important to post the entire log since it should include any power "registration" results when the skin first loads.
Thanks again for all your testing!
-Brian
In the meantime, if you don't mind testing 1 more version for now. It's basically the same version, so it probably won't work.....but this version comes with some extra logging to help me see if things are getting registered correctly, and if any power messages are getting broadcast when returning from sleep/hibernate.
Here is the new test build:
https://builds.rainmeter.net/test_builds/Rainmeter-4.5.17.3723-prerelease-OnWakeAction2.exe
Before running this version, could you turn on the "Debug mode" and "Log to file" ?
https://docs.rainmeter.net/manual/user-interface/manage/#SettingsTab
Also, could you test this with a simple bang, like Yincognito suggested? Something like OnWakeAction=[!Log "I just woke up!"]
Once those logging options are turned on and you change your OnWakeAction, you can install the new test build.
Once you return from sleep (or hibernate), please open the log file and post its contents here. It's important to post the entire log since it should include any power "registration" results when the skin first loads.
Thanks again for all your testing!
-Brian