It is currently June 5th, 2023, 8:08 pm
!RainmeterSetVariable
-
- Developer
- Posts: 22571
- Joined: April 19th, 2009, 11:02 pm
- Location: Fort Hunt, Virginia, USA
!RainmeterSetVariable
Rainy (or anyone who uses it) can I get a brief sample of how to use the new bang !RainmeterSetVariable so I can add it to the manual? I want to be sure to get the syntax correct.
-
- Developer
- Posts: 318
- Joined: July 14th, 2009, 5:57 pm
Re: !RainmeterSetVariable
I had a brief attempt at using it,
The format seemed to be !RainmeterSetVariable VariableName NewValue
It seems you can also add ConfigName at the end to send the bang to a different skin
I also found the variable is not stored when the skin is refreshed which meant that my attempted application could not work
The format seemed to be !RainmeterSetVariable VariableName NewValue
It seems you can also add ConfigName at the end to send the bang to a different skin
I also found the variable is not stored when the skin is refreshed which meant that my attempted application could not work
+++ Divide By Cucumber Error. Please Reinstall Universe And Reboot +++
Quis custodiet ipsos custodes?
-
- Developer
- Posts: 1270
- Joined: April 3rd, 2009, 4:31 am
- Location: NC, US
Re: !RainmeterSetVariable
JamesAC, I'm not sure how you were trying to use it but maybe setting an OnRefreshAction= might help...
-
- Developer
- Posts: 318
- Joined: July 14th, 2009, 5:57 pm
Re: !RainmeterSetVariable
I was attempting to create a skin which searches google and returns the results on your desktop.
I was passing the input from JSMorley's RainInput into a !RainmeterSetVariable Bang and the trying to use that in a web parser to return the search results, by using the variable in the URL.
I was passing the input from JSMorley's RainInput into a !RainmeterSetVariable Bang and the trying to use that in a web parser to return the search results, by using the variable in the URL.
+++ Divide By Cucumber Error. Please Reinstall Universe And Reboot +++
Quis custodiet ipsos custodes?
-
- Posts: 2
- Joined: September 8th, 2009, 2:44 pm
Re: !RainmeterSetVariable
Do we know the correct coding of SetVariable? I have tried it multiple ways and cannot seem to get it to work.
I've tried: !RainmeterSetVariable MeasureName 1
I've tried: !RainmeterSetVariable [MeasureName] 1
I've tried: !RainmeterSetVariable [MeasureName] [1]
All the were followed by a IfEqualAction statement
Thanks
I've tried: !RainmeterSetVariable MeasureName 1
I've tried: !RainmeterSetVariable [MeasureName] 1
I've tried: !RainmeterSetVariable [MeasureName] [1]
All the were followed by a IfEqualAction statement
Thanks