It is currently May 7th, 2024, 3:07 am

Buttons for Firefox etc...

Get help with creating, editing & fixing problems with skins
iGod_v.05
Posts: 3
Joined: September 19th, 2011, 1:08 pm

Buttons for Firefox etc...

Post by iGod_v.05 »

Hello,
I searched the site quite a while but I could not really figure out how to do that kind of stuff. My Idea is to put a big Text on the screen saying something like "Things to do" or just even "Programs" and under that something like "Adobe", "Winamp", ecc... When clicking on that kind of text the program should open.
I saw it on deviantart some time ago, but I am pretty new to rainmeter and I do not really know how to do this.
My apologies if this is the wrong sub-forum or if it is posted somehwere.

Thanks in advance,
iGod_v.05
User avatar
jsmorley
Developer
Posts: 22631
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: Buttons for Firefox etc...

Post by jsmorley »

Here is a simple little example. You can start with this to see how it is done, then modify any way you want.

Code: Select all

[Rainmeter]
Update=300
DynamicWindowSize=1

[MeterHeaderBack]
Meter=Image
X=0
Y=0
W=200
H=25
SolidColor=255,255,255,255
SolidColor2=205,205,205,255
GradientAngle=90

[MeterHeaderText]
Meter=String
X=5
Y=4
FontSize=12
FontColor=0,0,0,255
Antialias=1
Text=My Programs

[MeterAppsBack]
Meter=Image
X=0
Y=27
W=200
H=200
SolidColor=255,255,255,255
SolidColor2=205,205,205,255
GradientAngle=270

[MeterApp1]
Meter=String
X=5
Y=37
FontSize=12
FontColor=0,0,0,255
SolidColor=0,0,0,1
Antialias=1
Text=Firefox
MouseOverAction=!SetOption MeterApp1 FontColor 74,74,74,255
MouseLeaveAction=!SetOption MeterApp1 FontColor 0,0,0,255
LeftMouseUpAction=!Execute ["C:\Program Files (x86)\Nightly\firefox.exe"]

[MeterApp2]
Meter=String
X=5
Y=3R
FontSize=12
FontColor=0,0,0,255
SolidColor=0,0,0,1
Antialias=1
Text=WinAmp
MouseOverAction=!SetOption MeterApp2 FontColor 74,74,74,255
MouseLeaveAction=!SetOption MeterApp2 FontColor 0,0,0,255
LeftMouseUpAction=!Execute ["C:\Program Files (x86)\Winamp\winamp.exe"]
9-19-2011 9-34-23 AM.jpg
Let me know if you have any questions about what this is doing or what any of the options mean.
You do not have the required permissions to view the files attached to this post.
iGod_v.05
Posts: 3
Joined: September 19th, 2011, 1:08 pm

Re: Buttons for Firefox etc...

Post by iGod_v.05 »

Okay,
I think it is not quite handy that I never coded anything.
However I think I quite understood that code, But I want it even simpler. So if you could do me the favor and make me the code for just a white text saying "Things you could do" which would probably be something like:

Code: Select all

[Rainmeter]
Update=300
DynamicWindowSize=1

[MeterHeaderText]
Meter=String
X=5
Y=4
FontSize=12
Font=Arial
FontColor=255,255,255,255
Antialias=1
Text=Things you could do
And then the apps under it, just as a Text saying "Firefox" as well,
would it be:

Code: Select all

[MeterApp1]
Meter=String
X=5
Y=37
FontSize=12
FontColor=255,255,255,255
SolidColor=0,0,0,1
Antialias=1
Text=Firefox
MouseOverAction=!SetOption MeterApp1 FontColor 74,74,74,255
MouseLeaveAction=!SetOption MeterApp1 FontColor 0,0,0,255
LeftMouseUpAction=!Execute ["C:\Program Files (x86)\Nightly\firefox.exe"]

And how to install it then haha. Sorry for being so newbish.
User avatar
jsmorley
Developer
Posts: 22631
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: Buttons for Firefox etc...

Post by jsmorley »

I think you have enough there to get started. Just remove the image meters if you don't want them, change the text and "actions" as you like, mess with the X and Y for positioning, and you should be able to get it working the way you want.

As to installing it:

Create a folder in your C:\users\YOURNAME\Documents\Rainmeter\Skins folder and give it any name you like. Maybe ..Skins\MyLauncher

Create a text file with Notepad, then paste in my example code. Save the file in your new folder as "MyLauncher.ini".
Note: If you have "Hide extensions of known file types" set in Windows, be careful that you set the "type" of the file to "all types" in Notepad, and that it is really saved as .ini and not .ini.txt

Left click the Rainmeter tray icon to load "Manager". Click on "Refresh all" at the bottom left, then find and "Load" your new skin.

Now you can use the "Edit" button to make any changes and mess with the skin until you get it working the way you want.

Be sure to keep The Rainmeter Manual handy as you are working so you can see what the different options are.
iGod_v.05
Posts: 3
Joined: September 19th, 2011, 1:08 pm

Re: Buttons for Firefox etc...

Post by iGod_v.05 »

Okay thank you very!!! much. :) I would give you an upvote if it was possible ahaha :D
Thread can be closed then,

Greets,
iGod_v.05