Anyway, I want my skins to blend in to my background, so I decided to make a bunch of icons independent of one another so I can arrange them how I'd like on the desktop; however, I've encountered a few speedbumbs.
The first is more of an annoyance that anything: I have programmed the icon to switch to a different picture when scrolled over, and then obviously change back when was either clicked or the mouse was moved away. This works fine if the mouse goes from picture -> transparent square underneath it intended to move the skin -> background
but when the mouse goes directly from the icon onto the background, it thinks it is still highlighted. As I said, I can easily fix this by making the sqaure bigger and centering the icon inside, but I figure I'd ask for an alternative method.
Now my major issue I most likely just coded like a blithering idiot, but for some reason my skin is being treated partially as its own program. What I mean by this is if I hold down the windows key and press "D" which normally clears the screen of all windows, it also closes my icon. As soon as I restore any of my running programs, the icon reappears. I did make sure that my Rainmeter was installed correctly, as Enigma runs fine.
While you guys are here I was wondering how to have a measure (or whatever tool is needed) detect that the selected program opened and change the icon to a third picture until the program is closed.... Basically I would like all of my icons to behave like the Windows gem; that is, idle -> hovered -> clicked
Thanks in advance,
Greg
Code: Select all
;------------------------------------------------------------------------------------------------
; Flight Chrome
;
[Rainmeter]
Author= Eclipse
Config=Flight | Buttons
Update=10000
[Detail1]
Meter=IMAGE
SolidColor=0, 0, 0, 1
X=5
Y=5
W=40
H=30
[Chrome]
Meter=IMAGE
X=r
Y=r
W=32
H=32
ImageName=#SKINSPATH#Flight\Icons\chrome.png
MouseOverAction=!Execute [!RainmeterShowMeter ChromeActive][!RainmeterHideMeter Chrome][!RainmeterRedraw]
[ChromeActive]
Meter=IMAGE
X=r
Y=r
W=32
H=32
Hidden=1
ImageName=#SKINSPATH#Flight\Icons\chrome_on.png
MouseLeaveAction= !Execute [!RainmeterHideMeter ChromeActive][!RainmeterShowMeter Chrome][!RainmeterRedraw]
LeftMouseDownAction= !Execute ["C:\Users\Greg\AppData\Local\Google\Chrome\Application\chrome.exe"][!RainmeterHideMeter ChromeActive][!RainmeterShowMeter Chrome][!RainmeterRedraw]
I would still love to know about rainmeter knowing what programs are running