It is currently June 26th, 2019, 10:59 pm

Somewhere to start

Help with creating, editing & fixing problems with skins
meweaver
Posts: 5
Joined: March 15th, 2019, 2:19 am

Somewhere to start

meweaver » March 20th, 2019, 10:47 pm

After reviewing some examples I came up with this. Does it need to be edited or revised.

Code: Select all

[Rainmeter]
Update=1000

[MeterBackground]
Meter=Image
W=0
H=0
SolidColor=60,60,60,255

[MeterLaunch1]
Meter=String

[MeterLaunch3Image]
Meter=Image
ImageName=#@#Images\Battleneticon.png
W=100
H=100
X=0r
Y=2R
LeftMouseUpAction=["D:\Battle.net\Battle.net Launcher.exe"]

ImageName=#@#Images\Battleneticon.png
W=100
H=100
X=0r
Y=2R

[MeterLaunch3Text]
Meter=String
X=0R
Y=6r
FontFace=Trebuchet MS
FontSize=14
FontColor=146,197,94,255
StringStyle=Bold
SolidColor=0,0,0,1
AntiAlias=1
Text=
LeftMouseUpAction=["D:\Battle.net\Battle.net Launcher.exe"]
Can I save this has a Layout?

Thanks
Last edited by eclectic-tech on March 21st, 2019, 1:16 am, edited 1 time in total.
Reason: Please use code tags. It is the </> symbol.
User avatar
eclectic-tech
Rainmeter Sage
Posts: 3375
Joined: April 12th, 2012, 9:40 pm
Location: Cedar Point, Ohio, USA

Re: Somewhere to start

eclectic-tech » March 21st, 2019, 1:30 am

You have a few items that seem unnecessary or repetitive... Your background meter has zero width and height (?) and no real function so I removed it.
You have duplicate ImageName labels and dimensions in the [MeterLaunch3Image] section (duplicates are ignored) so I removed those.
You had a blank String meter so I removed that code and added actual "Text" to your last string meter.
What you have left is an icon image and a string meter that should launch "Battle.net" when you click either item.

Code: Select all

[Rainmeter]
Update=1000

[MeterLaunch3Image]
Meter=Image
ImageName=#@#Images\Battleneticon.png
W=100
H=100
X=0r
Y=0r
LeftMouseUpAction=["D:\Battle.net\Battle.net Launcher.exe"]

[MeterLaunch3Text]
Meter=String
X=0R
Y=6r
FontFace=Trebuchet MS
FontSize=14
FontColor=146,197,94,255
StringStyle=Bold
SolidColor=0,0,0,1
AntiAlias=1
Text=Battle
LeftMouseUpAction=["D:\Battle.net\Battle.net Launcher.exe"]
battle.png
It does not make sense to save 1 skin as a layout, but you could. I would save this as a single skin. Add other launcher image and string meters to expand this skin, or add additional skins like this (each would have to be in their own folder) each launching a different app. Then load all of them, arrange them on the desktop, and then save those as a layout.
You do not have the required permissions to view the files attached to this post.
User avatar
balala
Rainmeter Sage
Posts: 8319
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Somewhere to start

balala » March 21st, 2019, 2:51 pm

eclectic-tech wrote:
March 21st, 2019, 1:30 am
It does not make sense to save 1 skin as a layout, but you could. I would save this as a single skin.
Entirely correct, however I don't completely agree. If you save one skin as a layout and take care not to include any other skins beside the needed one, makes sense. When you open a skin, it is loaded besides the already loaded ones, being this way the Nth skin. But if you have a layout which contains the only skin, and you load that layout, well, probably you know: the already loaded skins are closed (unloaded) and the skin belonging to layout, is loaded. Finally the only loaded skin is that belonging to the layout. Completely different then loading one skin.
Makes sense in my opinion.
meweaver
Posts: 5
Joined: March 15th, 2019, 2:19 am

Re: Somewhere to start

meweaver » March 21st, 2019, 6:19 pm

Thanks to the both of you. It take's me a little bit of learning something new. I didn't want to delete any of the data that I made until I had someone else advice.