Lawliet72 wrote:Okay, and one more last tip: how can I count the pixels of Y and X to place the exact action in the exact place? I mean, if I have to place the "action" (the execution of the shortcut) in a certain place of the screen, how can I know it? Is there a tutorial about it? I can't find it.
Sorry for my noobyness. Thanks for the help
The last problem is that you are treating these images / actions as if they are "hotspots" on a large image. That isn't how Rainmeter works. All of your images are just huge, the full size of your entire screen, with tons of transparent space around them. Then the approach you are thinking of is that you will just layer these one on top of the other, and set the "action" on some specific part. Won't work.
What you need to do is edit these images. Crop them down to just the size of the part you want clickable. So for instance that facebook.png will go from 1920x1080 to 708x247 when you crop it down to just the logo. Do that for all of them.
Now you can arrange the images in the skin using Image meters with an appropriate X= and Y= on them.
[MeterFaceBook]
Meter=Image
ImageName=Images\facebook.png
X=200
Y=0
LeftMouseUpAction=["
http://facebook.com"]
[MeterYoutube]
Meter=Image
ImageName=Images\youtube.png
X=2R
Y=0
LeftMouseUpAction=["
http://youtube.com"]
So what we are doing there us putting the first image in some appropriate spot. (note I am putting it out to the right at X=200, since in the sample image you posted of how you want the skin to look it was offset to the right from the ones on the next row) Then the next one, the Youtube image, I am putting 2 pixels to the right of the Facebook one, by using X=2R, which means 2 pixels "relative" to the end of the previous meter. ("R" means relative to the end, and "r" means relative to the beginning)
Then we can start on that second row...
[MeterIsaac]
Meter=Image
ImageName=Images\isaac.png
X=0
Y=2R
LeftMouseUpAction=["#CURRENTPATH#Links\isaac.lnk"]
Notice that I am setting the position of isaac.png all the way to the left, but 2 pixels below the previous meter (youtube.png)
That will give us:
8-13-2012 9-26-30 AM.jpg
You should be able to carry on from there following the same pattern. Let me know if you have questions.
======================
A few side notes:
Using Windows shortcut / lnk files for your actions is perfectly ok, but probably not needed in many cases. Opening a web site with Rainmeter is as simple as
LeftMouseUpAction=["http://SomeSite.com"] and running an application is as simple as
LeftMouseUpAction=["C:\Program Files\Steam\steam.exe"]. Up to you, but it might be more work than you need to create shortcuts for everything you want to run, and it makes it a bit more work to change things later.
Don't use spaces or punctuation characters in your folder names in Rainmeter.
\Lawliet's Gear I would change to
\LawlietsGear or something. Spaces and things like single quotes in folder names in Rainmeter is just a recipe for trouble later on.
There is no reason to set the Update= in the [Rainmeter] section of the skin to anything lower than the default Update=1000. Having the skin update those images every 100 milliseconds instead of 1000 milliseconds won't buy you anything, and will just cause the skin to use a little more CPU than it needs to.
Entirely up to you, but you might consider using the @Resources folder to store your images and links. It will eliminate having to set a variable for the images folder, and make Rainmeter load just a hair faster as Rainmeter doesn't scan any @Resources folders for skins when it loads.
http://rainmeter.net/cms/Skins-Resources_beta
You do not have the required permissions to view the files attached to this post.