It is currently May 17th, 2024, 9:45 am

image launcher

Get help with creating, editing & fixing problems with skins
nawmtaronyu
Posts: 64
Joined: July 21st, 2010, 3:30 am

image launcher

Post by nawmtaronyu »

so I found a Launcher that I modified for my files and my own image but I want to make it so that It has three images, a normal, Hover (mouse over) and Clicked. heres what I got

Code: Select all

;Metadata added by RainBrowser
;http://rainmeter.net/cms/Rainmeter101-EditingSkins

[Metadata]
Name=
Config=
Description=
Instructions=
Version=
Tags=
License=
Variant=
Preview=

;End of added Metadata

[Meterchrome]
Meter=IMAGE
ImageName=Chrome.png
X=0
Y=0
LeftMouseDownAction=!execute ["...Google Chrome"]
Image
User avatar
Chewtoy
Moderator
Posts: 995
Joined: June 10th, 2009, 12:44 pm
Location: Sweden

Re: image launcher

Post by Chewtoy »

You mean you want to do this http://rainmeter.net/cms/Tips-ButtonImage ?
I don't think, therefore I'm not.
nawmtaronyu
Posts: 64
Joined: July 21st, 2010, 3:30 am

Re: image launcher

Post by nawmtaronyu »

yea that kind of looks like it? I thought I needed 3 sepereate images, not one divided into 3 parts...
Image
User avatar
Chewtoy
Moderator
Posts: 995
Joined: June 10th, 2009, 12:44 pm
Location: Sweden

Re: image launcher

Post by Chewtoy »

Why?

If you do have three separate images, I'd do something like:
First image. This one will not be hidden from start. Upon MouseOver, it fires a bang to hide itself and show the second image.
Second image. This will be Hidden=1 and have a LeftMouseUpAction that hides itself, fires what ever app you want, and shows the third image.
Third image. This will be Hidden=1 and have a MouseLeave action that will hide itself and display the first.

This will in no way be better then a Button-meter. The 'clicked' icon will be displayed the entire time that you still have your mouse over it, even if you did the actual clicking 2h ago.
You also might have troubles with MouseLeave if you don't have a background in the same skin so rainmeter knows when the mouse have left the icon.
I don't think, therefore I'm not.