Ok, I think I made some progress on this.
Could everyone try this version?
I believe I tried all the test cases reported so far and all seems to be good.
It is currently July 27th, 2021, 4:05 pm
Report bugs with the Rainmeter application and suggest features.
- Posts: 2210
- Joined: November 24th, 2011, 1:42 am
- Location: Utah
You do not have the required permissions to view the files attached to this post.
- Rainmeter Sage
- Posts: 3650
- Joined: February 27th, 2015, 2:38 pm
- Location: Terra Yincognita
Well, I tested it and, apart from the #*CURRENTSECTION*# quirks that already existed before and you know about, it all seems fine from my end. The !Delay things works, various other "bang replacement variables" do as well as far as I could tell, not sure about Cariboudjan's skin from the first post though.
EDIT: For the record, apart from the !Delay stuff, I also have things like these variables and how they're used:
I guess that counts as "bang replacement variables" combined with the nested and escaped syntax, and it all works fine. I don't have a testing example of such a variable that involves #CURRENTSECTION# like in the OP's skin, so that part will have to be tested by others...
Code: Select all
[Variables] SetupTypeIdx=1 GroupTypeIdx=2 MeterTiltIdx=1 ... LeadDelay0= LeadDelay1=[!Delay [#*FastUpdate*]] ModeShift0=[!PauseMeasure Spin][!UpdateMeasure Spin][!UnPauseMeasure Spin][!UpdateMeter *][!Redraw] ModeShift1=[!CommandMeasure Slider "Stop 2"][!CommandMeasure Slider "Stop 3"][!CommandMeasure Slider "Execute [#*SliderAction*]"] ... ModeUpdateDivider=1 SliderAction=3 ... [Rainmeter] OnRefreshAction=...[#LeadDelay[#SetupTypeIdx]][#ModeShift[#SetupTypeIdx]] ... [Earth] LeftMouseUpAction=[!SetVariable ModeUpdateDivider (-[#ModeUpdateDivider])][!SetVariable SliderAction (2+[#ModeUpdateDivider])][#ModeShift[#SetupTypeIdx]] ...
- Posts: 176
- Joined: May 12th, 2019, 8:55 am
Bangs are executing normally with this version, and the arguments are working normally as well.