It is currently May 3rd, 2024, 11:39 pm

Skin help question

Get help with creating, editing & fixing problems with skins
ldvhl
Posts: 2
Joined: May 8th, 2012, 10:30 am

Skin help question

Post by ldvhl »

I am creating a series of custom launcher skins for a theme I'm developing based around heraldry/a roll of arms. Unfortunately, I have come across a couple hiccups in developing the launchers. Hopefully someone here can help me with these issues.

First, the code I'm using:

Code: Select all

;=================================================
; Rainmeter configuration file
; Updated March 12, 2012
;=================================================

;[BEGIN CONFIG FILE]==============================

[Rainmeter]
Author=|dvh|

[Variables]
; Variables declared here can be used later on between two # characters (e.g. #MyVariable#).
fontName=uberhölme
textSize=12
colorBar=235,170,0,255
colorText=0,0,0,205

;[BUTTONS]====================================

[MeterBUTTON]
Meter=BUTTON
X=0
Y=0
ButtonImage=blank.png
ButtonCommand=!Execute ["C:\My Documents\Rainmeter\Skins\Heraldry Launchers\HLffxii\ffxii.lnk"]

;[ICONS]=======================================

[MeterCOMPUTER_ICON]
Meter=IMAGE
X=0
Y=0
H=100
W=86
ImageName=ffxii.png
AntiAlias=1

; ----------------------------------
; STYLES are used to "centralize" options
; ----------------------------------

[styleTitle]
StringAlign=LEFT
StringCase=UPPER
StringStyle=BOLD
FontColor=#colorText#
FontFace=#fontName#
FontSize=#textSize#
AntiAlias=1
ClipString=1

[styleLeftText]
StringAlign=LEFT
StringCase=NONE
StringStyle=NORMAL
FontColor=#colorText#
FontFace=#fontName#
FontSize=10
AntiAlias=1
ClipString=1

; ----------------------------------
; METERS display images, text, bars, etc.
; ----------------------------------

[meterTitle]
Meter=STRING
MeterStyle=styleTitle
X=100
Y=0
W=190
H=18
Text="Final Fantasy XII"
LeftMouseUpAction=!Execute ["C:\My Documents\Rainmeter\Skins\Heraldry Launchers\HLffxii\ffxii.lnk"]
ToolTipText="Open Final Fantasy XII"

[meterDescription]
Meter=STRING
MeterStyle=styleLeftText
X=100
Y=20
W=250
H=100
Text="Discover the secret that will unravel an empire. At war looms on the horizon, the mighty Archadian Empire begins a campaign to subjugate its neighbors. The small kingdom of Dalmasca was one such neighbor, and it is here that our tale begins."
Here are the two issues I have with the code, which I imagine are obvious to people more experienced than I am. The first is this: I use a blank image (just a transparent png) as the actual image link because whenever I try to use the blazon image itself, it ends of deformed and moves around when I try to click it. I suspect something similar is happening to the transparent image as well because I can't seem to click where I think I should in order to launch the programs.

Second, the shortcut links I have in their respective folders do not seem to function for anything other than My Computer, My Documents, and Recycle Bin. For all of the other heraldry links, I have had to tell Rainmeter to open the programs from where their respective .exe files actually are. Unfortunately, I cannot do this with my Final Fantasy XII launcher, and I would like to know what I am doing wrong and how to fix it. When I do click its link in the folder it functions fine, so that is why I suspect it's a problem with how I'm coding the skin.

Any help?
User avatar
AlC
Posts: 329
Joined: June 9th, 2011, 6:46 pm

Re: Skin help question

Post by AlC »

Don't understand it really, but a note to your images:
Don't use a fully transparent image in Rainmeter.
(Example: 255,0,0,0 -> RM don't recognize it .... 255,0,0,1 -> RM recognize it)

Add to your FF XIII Icon SolidColor=0,0,0,1. You don't need the blank image anymore.

Launcher problem:
Any errors on your "About-Log" ?
Rainmeter - You are only limited by your imagination and creativity.
ldvhl
Posts: 2
Joined: May 8th, 2012, 10:30 am

Re: Skin help question

Post by ldvhl »

So if I use the SolidColor line on the ffxii.png, I would be able to use that as the link image instead of blank.png?

And I don't know what About-Log is, could you explain?

Thanks!
User avatar
AlC
Posts: 329
Joined: June 9th, 2011, 6:46 pm

Re: Skin help question

Post by AlC »

So if I use the SolidColor line on the ffxii.png, I would be able to use that as the link image instead of blank.png?
Did you try it ?

How about: (deleting blank before)

Code: Select all

[MeterCOMPUTER_ICON]
Meter=IMAGE
ImageName=ffxii.png
X=0
Y=0
H=100
W=86
SolidColor=0,0,0,1
AntiAlias=1
LeftMouseUpAction=!Execute ["C:\My Documents\Rainmeter\Skins\Heraldry Launchers\HLffxii\ffxii.lnk"]
And why does your icon move around when you try to click it ?


About-Log:
Right click on the Rainmeter icon -> About -> Log
Shows you some useful infos.
Rainmeter - You are only limited by your imagination and creativity.