It is currently October 13th, 2024, 12:23 am

Bangs ?

Get help with creating, editing & fixing problems with skins
trinhanhngoc
Posts: 23
Joined: May 23rd, 2010, 3:48 pm

Bangs ?

Post by trinhanhngoc »

Code: Select all

[Background]
Meter=Image
ImageName=Background.png
X=0
Y=0
MouseOverAction=Execute! [!RainmeterHideMeter MeterMeasureCurrent][!RainmeterHideMeter MeterMeasureNextDay]
MouseLeaveAction=Execute! [!RainmeterShowMeter MeterMeasureCurrent][!RainmeterShowMeter MeterMeasureNextDay]
Mouse was over the background but meters weren't hidden. Why ?
User avatar
Alex2539
Rainmeter Sage
Posts: 642
Joined: July 19th, 2009, 5:59 am
Location: Montreal, QC, Canada

Re: Bangs ?

Post by Alex2539 »

You put the exclamation mark at the wrong place. It should be !Execute, not Execute!. You're not yelling at Rainmeter ;).
ImageImageImageImage
trinhanhngoc
Posts: 23
Joined: May 23rd, 2010, 3:48 pm

Re: Bangs ?

Post by trinhanhngoc »

Yeah :)
trinhanhngoc
Posts: 23
Joined: May 23rd, 2010, 3:48 pm

Re: Bangs ?

Post by trinhanhngoc »

Code: Select all

MouseOverAction=!Execute [!RainmeterHideMeter MeterMeasureCurrent][!RainmeterHideMeter MeterMeasureNextDay][!RainmeterRedraw]
MouseLeaveAction=!Execute [!RainmeterShowMeter MeterMeasureCurrent][!RainmeterShowMeter MeterMeasureNextDay][!RainmeterRedraw]
Mouse left the background but meters weren't shown. Why ?
User avatar
Alex2539
Rainmeter Sage
Posts: 642
Joined: July 19th, 2009, 5:59 am
Location: Montreal, QC, Canada

Re: Bangs ?

Post by Alex2539 »

If those are placed in a meter, leaving the skin will not trigger the "Leave" action. For it to register that your mouse has left that meter, you need to move it to another part of the skin. In order to detect if it has left the entire skin, put the MouseLeaveAction under the [Rainmeter] section.
ImageImageImageImage
trinhanhngoc
Posts: 23
Joined: May 23rd, 2010, 3:48 pm

Re: Bangs ?

Post by trinhanhngoc »

Thank you