It is currently April 19th, 2024, 6:52 am
Get help with creating, editing & fixing problems with skins
Emeere
Posts: 4 Joined: November 17th, 2012, 12:15 am
Post
by Emeere » November 17th, 2012, 12:18 am
I'm pretty new to Rainmeter, so how do I make it so that it plays the desired sound each time I open Rainmeter?
Current File text reads as follows:
Code: Select all
;#####################################################################################
;#####################################################################################
;#####################################################################################
[Rainmeter]
Author=g3xter
;////////////////////////////////////////
; STARTUP SOUND
;////////////////////////////////////////
;////////////////////////////////////////
; STARTUP SOUND MEASURE
;////////////////////////////////////////
[MeasureTimeM]
Measure=Time
Format="%M"
Update=1
OnRefreshAction:play "#CURRENTPATH#WELCOME BACK.wav"
;////////////////////////////////////////
; DEBUG METER
;////////////////////////////////////////
[DebugMeter]
Meter=IMAGE
X=0
Y=0
W=1
H=1
SolidColor=0, 0, 0, 0
;#####################################################################################
;#####################################################################################
;#####################################################################################
What am I doing wrong?
Last edited by Brian on October 31st, 2013, 3:44 pm, edited 1 time in total.
Reason: Please use [code] tags.
jsmorley
Developer
Posts: 22629 Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA
Post
by jsmorley » November 17th, 2012, 12:27 am
Update=1
OnRefreshAction:play "#CURRENTPATH#WELCOME BACK.wav"
OnRefreshAction
= play "#CURRENTPATH#WELCOME BACK.wav"
Update does nothing on a measure.
http://docs.rainmeter.net/tips/update-guide
Emeere
Posts: 4 Joined: November 17th, 2012, 12:15 am
Post
by Emeere » November 17th, 2012, 12:36 am
Oh okay, That will fix the issue then? I'm really new to this, as in, just got it today.
Emeere
Posts: 4 Joined: November 17th, 2012, 12:15 am
Post
by Emeere » November 17th, 2012, 12:44 am
I changed the designated text, but it still dosen't work. What exactly should the file say? :c I hate to be a bother.
jsmorley
Developer
Posts: 22629 Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA
Post
by jsmorley » November 17th, 2012, 12:47 am
Sorry, I should have looked past the obvious typo...
[Rainmeter]
Update=1000
OnRefreshAction=[Play "#CURRENTPATH#WELCOME BACK.wav"]
[MeasureTimeM]
Measure=Time
Format="%M"
I don't know what the time measure is being used for later, but in any case, the OnRefreshAction option always and only goes in the [Rainmeter] section of the skin.
http://docs.rainmeter.net/manual/skins/rainmeter-section#OnRefreshAction
Emeere
Posts: 4 Joined: November 17th, 2012, 12:15 am
Post
by Emeere » November 17th, 2012, 12:49 am
Awesome, thanks so much! It's working now c:
benjcarl
Posts: 3 Joined: October 31st, 2013, 9:32 am
Post
by benjcarl » October 31st, 2013, 9:51 am
uhm.... can you post the whole codes or much better the ini file for this ... im looking for this thing for years ... i want that sounds on my startup too ....
moshi
Posts: 1740 Joined: November 13th, 2012, 9:53 pm
Post
by moshi » October 31st, 2013, 10:32 am
benjcarl wrote: uhm.... can you post the whole codes or much better the ini file for this ... im looking for this thing for years ... i want that sounds on my startup too ....
to put
Code: Select all
OnRefreshAction=[Play "path\to\file.wav"]
into the
[Rainmeter] section
is the whole code.
benjcarl
Posts: 3 Joined: October 31st, 2013, 9:32 am
Post
by benjcarl » November 1st, 2013, 5:19 am
i still cant understand what to do .. >.<
[Rainmeter]
Update=1000
OnRefreshAction=[Play "C:\Users\benjcarl\Documents\Rainmeter\Skins\WELCOME BACK.wav"]
is this the only needed..
sorry for noob things >.<
moshi
Posts: 1740 Joined: November 13th, 2012, 9:53 pm
Post
by moshi » November 1st, 2013, 8:44 am
if you want to add a "startup" sound to an existing skin then to put
Code: Select all
OnRefreshAction=[Play "path\to\file.wav"]
into the
[Rainmeter] section is the whole code
if you want to create an additional skin that only plays a sound that skin should look like this:
Code: Select all
[Rainmeter]
Update=-1
OnRefreshAction=[Play "path\to\file.wav"]
[blah]
Meter=String
if you want to play a startup sound when Windows starts, there is no need to use Rainmeter for that. do a google search for
startup sound (insert your operating system here)