It is currently April 28th, 2024, 5:13 am

Creating Links

Get help with creating, editing & fixing problems with skins
Austindb95
Posts: 4
Joined: August 5th, 2012, 7:43 pm

Creating Links

Post by Austindb95 »

Hello, New to this program and was wondering how to create a link skin.

Basically i want a skin thats a word that opens up like google or a specific file location. Iv been looking and i found layout that have them but cant find a link download or any help on how to make one.

Thanks in advace.

I want the buttons like how he has in the middle but looking different and of course different locations

http://i.imgur.com/Ka5My.jpg
User avatar
MerlinTheRed
Rainmeter Sage
Posts: 889
Joined: September 6th, 2011, 6:34 am

Re: Creating Links

Post by MerlinTheRed »

Reading http://rainmeter.net/cms/Rainmeter101 and doing the skin tutorials there will teach you the basics of Rainmeter skinning, including making buttons that open up folders, start programs etc. Then you can look for "launcher" type skins (e.g. on deviantart) and look at their code to see how other people do it.
Have more fun creating skins with Sublime Text 2 and the Rainmeter Package!
Austindb95
Posts: 4
Joined: August 5th, 2012, 7:43 pm

Re: Creating Links

Post by Austindb95 »

I have looked a few times but none give you a decent layout. Anyway u can just give me a basic layout? Im still confused on how to make a skin aswell this is what what i made so far

Code: Select all

[Rainmeter]

Author=Austin
AppVersion=2003000
Update=1000
Background=#@#Background.png
BackgroundMode=3
BackgroundMargins=0,34,0,14

[Metadata]
Version=1.0.0

[styleLeftText]
StringAlign=LEFT

StringCase=NONE
StringStyle=BOLD
StringEffect=SHADOW
FontEffectColor=0,0,0,20
FontColor=#colorText#
FontFace=#fontName#
FontSize=#textSize#
AntiAlias=1
ClipString=1



[MeterMyComputer]
Meter=STRING
MeterStyle=styleLeftText
X=0
Y=0
W=38
H=38
Text="Documents"
LeftMouseDownAction=[::{450D8FBA-AD25-11D0-98A8-0800361B1103}]
I was hoping this would give me just a word that links me to my documents. But i Don't know how to turn it into a skin aswell.
Last edited by smurfier on August 5th, 2012, 8:47 pm, edited 1 time in total.
Reason: Added code tags.
Lightz39
Posts: 98
Joined: August 1st, 2012, 12:48 am

Re: Creating Links

Post by Lightz39 »

I'll make you a quick example and upload it. Will comment on skin for easy editing.

EDIT: Ok here is what you do to make a skin
  • First create a folder titled "Text Link" in My Documents\Rainmeter\Skins
    Next open notepad and paste the code below into it
    Save the code into the folder you created. Switch it from text files to all files and call it Text Link.ini
    Run the skin with rainmeter

Code: Select all

[Rainmeter]
;Every skin needs this section
Author=Austin
;Your name, shows up in the manager
Update=1000
;Updates the skin every second. 

[Metadata]
;Details for manager
Name=Text Link
;Name of skin
Version=1.0
;Version of skin
Description=An Example of A Text Link
;Description of what it is
License=Free to use, edit and share.
;Tell people what they can and can't do with your work

;===========================

[StyleText]
;Defines a style
FontFace=Arial
;Makes the font display as arial
FontColor=FFFFFF
;Makes the font white, use Hex or RGB
FontSize=20
;Changes the font size, its like Word, not photoshop
StringAlign=Left
;Aligns the text to the left
StringStyle=Bold
;Makes the text bold
AntiAlias=1
;Uses antialiasing

;===========================

[Link1]
;Creates a meter named Link1
Meter=String
;Tells the meter it will be text
MeterStyle=StyleText
;Tells the meter to use our style created above
SolidColor=0,0,0,1
;Creates a transparent box over the text for easier button presses
Text=My Computer
;What you want your button to say
LeftMouseUpAction="::{20D04FE0-3AEA-1069-A2D8-08002B30309D}"
;Makes it so when you release your left mouse button on the text it will open your link
X=0
;Horizontal position
Y=0
;Verticle position

[Link2]
;Creates a meter named Link2
Meter=String
;Tells the meter it will be text
MeterStyle=StyleText
;Tells the meter to use our style created above
SolidColor=0,0,0,1
;Creates a transparent box over the text for easier button presses
Text=My Documents
;What you want your button to say
LeftMouseUpAction="::{450D8FBA-AD25-11D0-98A8-0800361B1103}"
;Makes it so when you release your left mouse button on the text it will open your link
X=200r
;Horizontal position relative to your last meter. In this case Link1. Makes it always be this distance apart even if the first moves
Y=0
;Verticle position

There is your code. I commented on every single thing I wrote. Every second line beginning with a ";" is a comment. Read it, learn it, delete it if you wish. I hope this helps and or is what you are after.