Play a sound when Rainmeter starts

Get help with installing and using Rainmeter.
User avatar

Play a sound when Rainmeter starts

June 14th, 2018, 8:57 pm
AlphaUMi
   [2 posts]

Hi everyone!

This is mi first post, I am a long time Rainmeter user, not a skin creator, but confident with Rainmeter and skins configuration files. My question is the following: is it possible to make Rainmeter play a sound automatically as soon as a layout is loaded?

I know about the Play bang (not !Play, I know), but I couldn't get it to work for me. What I want to achieve is:

1. Rainmeter is closed, or PC is off.
2. Rainmeter starts, loads the layout, and play a sound.

I mean: it plays a sound automatically like a sort of "intro", without mouse clicks or user interaction. I would like to achieve this:

1. Or with a shortcut, with a command line parameter
2. Or attaching the Play bang to a section of a skin that is loaded when Rainmeter starts.

I hope someone can help me.
Cheers,

AlphaUMi
User avatar

Re: Play a sound when Rainmeter starts

June 14th, 2018, 10:16 pm
jsmorley
Developer   [17826 posts]

Code: Select all

[MeasureOnLoad]
Measure=Calc
Formula=Counter
IfCondition=MeasureOnLoad = 1
IfTrueAction=[Play "#@#\Sounds\Wecome2.wav"]
UpdateDivider=-1


This will play the sound when the skin you put this in (it can be any skin you always load) is first loaded, which will be when Rainmeter is started...

Welcome2.WAV [ 40.03 KiB | Viewed 169 times ]

User avatar

Re: Play a sound when Rainmeter starts

June 15th, 2018, 12:00 am
AlphaUMi
   [2 posts]

Oh yes, thank you! Really, sincerely, thank you a lot!!! :17good

And in the process I've learned the MeasureOnLoad... it's great, very useful. Thank you again!!! :great:
User avatar

Re: Play a sound when Rainmeter starts

June 15th, 2018, 12:34 am
jsmorley
Developer   [17826 posts]

Glad to help.

Return to “Help: Rainmeter Application”



Who is online

Users browsing this forum: No registered users and 1 guest