It is currently March 28th, 2024, 12:20 pm

Rotate Image

Get help with creating, editing & fixing problems with skins
User avatar
xenium
Posts: 841
Joined: January 4th, 2018, 9:52 pm

Re: Rotate Image

Post by xenium »

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
User avatar
balala
Rainmeter Sage
Posts: 16109
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Rotate Image

Post by balala »

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
First obviously you should have to add the appropriate String meter. I added the following one:

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
This meter is hidden (due to its Hidden=1 option).
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]
User avatar
xenium
Posts: 841
Joined: January 4th, 2018, 9:52 pm

Re: Rotate Image

Post by xenium »

Thanks so much !!!
:welcome: :welcome:
User avatar
balala
Rainmeter Sage
Posts: 16109
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Rotate Image

Post by balala »

Glad to help, if I did.
Post Reply