I come back with a question:
How do I have a wait time between ShowMeter and HideMeter?
I want a text to appear when the rotation stops, to remain displayed for 4 seconds and to disappear when the rotation starts again
I increased the waiting time between the rotations to 4 seconds
Thanks
It is currently March 28th, 2024, 12:20 pm
Rotate Image
- balala
- Rainmeter Sage
- Posts: 16109
- Joined: October 11th, 2010, 6:27 pm
- Location: Gheorgheni, Romania
Re: Rotate Image
First obviously you should have to add the appropriate String meter. I added the following one:xenium wrote:I come back with a question:
How do I have a wait time between ShowMeter and HideMeter?
I want a text to appear when the rotation stops, to remain displayed for 4 seconds and to disappear when the rotation starts again
I increased the waiting time between the rotations to 4 seconds
Thanks
Code: Select all
[MeterString]
Meter=STRING
X=#Radius#r
Y=#Radius#r
Padding=15,5,15,5
FontColor=220,220,220
SolidColor=0,0,0,150
FontSize=16
FontFace=Segoe UI
StringStyle=BOLD
StringAlign=CenterCenter
AntiAlias=1
Text=My String
Hidden=1
Complete the IfTrueAction option and add the following IfFalseAction option, to the [MeasureWait] ActionTimer plugin measure:
Code: Select all
[MeasureWait]
...
IfTrueAction=[!CommandMeasure "MeasureWait" "Stop 1"][!CommandMeasure "MeasureRotate" "Execute 1"][!HideMeter "MeterString"][!Redraw]
IfFalseAction=[!ShowMeter "MeterString"][!Redraw]
Re: Rotate Image
Thanks so much !!!
- balala
- Rainmeter Sage
- Posts: 16109
- Joined: October 11th, 2010, 6:27 pm
- Location: Gheorgheni, Romania
Re: Rotate Image
Glad to help, if I did.