Hide an image for length of wav
Posted: September 8th, 2017, 9:42 pm
Hi Rainmeter community,
I'm still learning rainmeter, only in the early stages and stuck on a simple line of code.
It's a simple push button that plays a wav file, but would like the button to hide for the length of the wave
then show once wav has finished.
Help Anyone?
Thanks
[Rainmeter]
Update=1000
[Text]
Meter=String
Text=2nd Floor
AntiAlias=1
FontColor=255,255,255
FontFace=Segoe UI
FontSize=50
Y=110
[Button2]
Meter=Image
ImageName=#@#Images\ButtonG.png
X=90
[Button]
Meter=Image
ImageName=#@#Images\ButtonR.png
X=90
LeftMouseUpAction=!Execute [!Update] [Play "#@#Sounds\2nd Floor.wav"] [!ShowMeter Button2] [!HideMeter Button] [!Update] [!ShowMeter Button]
I'm still learning rainmeter, only in the early stages and stuck on a simple line of code.
It's a simple push button that plays a wav file, but would like the button to hide for the length of the wave
then show once wav has finished.
Help Anyone?
Thanks
[Rainmeter]
Update=1000
[Text]
Meter=String
Text=2nd Floor
AntiAlias=1
FontColor=255,255,255
FontFace=Segoe UI
FontSize=50
Y=110
[Button2]
Meter=Image
ImageName=#@#Images\ButtonG.png
X=90
[Button]
Meter=Image
ImageName=#@#Images\ButtonR.png
X=90
LeftMouseUpAction=!Execute [!Update] [Play "#@#Sounds\2nd Floor.wav"] [!ShowMeter Button2] [!HideMeter Button] [!Update] [!ShowMeter Button]