It is currently April 27th, 2024, 6:09 pm

Changing Button?

Get help with creating, editing & fixing problems with skins
User avatar
eclectic-tech
Rainmeter Sage
Posts: 5407
Joined: April 12th, 2012, 9:40 pm
Location: Cedar Point, Ohio, USA

Re: Changing Button?

Post by eclectic-tech »

zapps wrote:Do I have to define the file somewhere?

Code: Select all

IfAboveAction=[!SetOption Meter BitmapImage 1][!Redraw][PlayLoop "entropy.wav"]

IfBelowAction=[!SetVariable Reset 1][!SetOption Meter BitmapImage 2][!Redraw][PlayStop]
Doesn't seem to be working.
If the .wav file is not in the same folder as the skin, then you need to use the entire path to the file...

The recommended way to arrange items used in your skin would be to create a "@Resources" folder in top-level of your skin folder, then put all of your items that are not needed right away (images, sounds, etc.) in that folder; these are not loaded when the skin starts and will improve load-time.

You can then refer to them in your skin using #@# (it is short-form for "YourSkinName\@Resources\" folder).
So, suppose you put the .wav file in a "Sounds" folder in the "@Resources" folder, refer to it with [PlayLoop "#@#Sounds\entropy.wav"]
If you just put it in the @Resources folder, use [PlayLoop "#@#entropy.wav"]
zapps
Posts: 14
Joined: November 18th, 2012, 3:31 am

Re: Changing Button?

Post by zapps »

My apologies, it was working before with having it in the folder I just didn't have the sound on for rainmeter lol.

Thanks for all your help man.
User avatar
eclectic-tech
Rainmeter Sage
Posts: 5407
Joined: April 12th, 2012, 9:40 pm
Location: Cedar Point, Ohio, USA

Re: Changing Button?

Post by eclectic-tech »

zapps wrote:My apologies, it was working before with having it in the folder I just didn't have the sound on for rainmeter lol.

Thanks for all your help man.
Sounds like something I would do too! :D

Always happy to help...
zapps
Posts: 14
Joined: November 18th, 2012, 3:31 am

Re: Changing Button?

Post by zapps »

http://www.mediafire.com/?4ywo91ofnj9jd0k

Link to the skin for anyone interested.
Also for safekeeping in case I somehow lose it.