It is currently April 26th, 2024, 6:13 pm

Text Links

Get help with creating, editing & fixing problems with skins
shredder81
Posts: 2
Joined: August 17th, 2010, 3:28 am

Text Links

Post by shredder81 »

Do I have to do each on in a different ini file? Only the first on works and the rest all go to the first one when clicked on.

Code: Select all

[Rainmeter]
Update=1000
LocalFont="#CURRENTPATH#STJEDISE.TTF"
[Metadata]
Name=
Config=
Description=
Instructions=
Version=
Tags=
License=
Variant=
Preview=

;End of added Metadata

[Variables]
; Font settings
LocalFontFace=StarJedi Special Edition

[FireFox]
AntiAlias=1
Meter=STRING
StringStyle=Bold
Text=FireFox
X=40
Y=10
H=300
W=300
Angle=0
FontSize=20
FontColor=255,255,255
FontFace=#LocalFontFace#
LeftMouseDownAction=!Execute ["C:\Program Files (x86)\Mozilla Firefox\firefox.exe"][!RainmeterRedraw]




[League of Legends]
AntiAlias=1
Meter=STRING
StringStyle=Bold
Text=League of Legends
X=40
Y=50
H=300
W=300
Angle=0
FontSize=20
FontColor=255,255,255
FontFace=#LocalFontFace#
LeftMouseDownAction=!Execute ["D:\Games\lol\lol.launcher.exe"][!RainmeterRedraw]

[World of Warcraft]
AntiAlias=1
Meter=STRING
StringStyle=Bold
Text=WoW
X=290
Y=10
H=300
W=300
Angle=0
FontSize=20
FontColor=255,255,255
FontFace=#LocalFontFace#
LeftMouseDownAction=!Execute [""D:\Games\World of Warcraft\Wow.exe""][!RainmeterRedraw]
User avatar
jsmorley
Developer
Posts: 22630
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: Text Links

Post by jsmorley »

Your Y= and H= settings are causing meters to "overlap" each other, so there is a conflict on which meter is receiving the mouse click.
shredder81
Posts: 2
Joined: August 17th, 2010, 3:28 am

Re: Text Links

Post by shredder81 »

is there a easy way to define them or is it all mostly guess work
User avatar
jsmorley
Developer
Posts: 22630
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: Text Links

Post by jsmorley »

shredder81 wrote:is there a easy way to define them or is it all mostly guess work
For the most part, unless you are using StringAlign=RIGHT or CENTER you don't need W and H on a string meter. (even then you don't absolutely need them) X and Y should be enough in almost all cases. The exception is when you are using ClipString=1 and want text to "wrap". Then H and W arer really required to get that working correctly. On a string meter, H can "sorta" be figured out as there is a formula (I think it is 1 font "point" = 1.75 pixels, but don't hold me to that, it varies a bit depending on the DPI of the device) but W is going to be based more on esthetics, how you want your skin to look, than on any formula.