It is currently October 13th, 2024, 12:23 am
Get help with creating, editing & fixing problems with skins
trinhanhngoc
Posts: 23 Joined: May 23rd, 2010, 3:48 pm
Post
by trinhanhngoc » June 20th, 2010, 3:57 am
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 ?
Alex2539
Rainmeter Sage
Posts: 642 Joined: July 19th, 2009, 5:59 am
Location: Montreal, QC, Canada
Post
by Alex2539 » June 20th, 2010, 4:14 am
You put the exclamation mark at the wrong place. It should be !Execute, not Execute!. You're not yelling at Rainmeter
.
trinhanhngoc
Posts: 23 Joined: May 23rd, 2010, 3:48 pm
Post
by trinhanhngoc » June 20th, 2010, 4:49 am
Yeah
trinhanhngoc
Posts: 23 Joined: May 23rd, 2010, 3:48 pm
Post
by trinhanhngoc » June 20th, 2010, 5:06 am
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 ?
Alex2539
Rainmeter Sage
Posts: 642 Joined: July 19th, 2009, 5:59 am
Location: Montreal, QC, Canada
Post
by Alex2539 » June 20th, 2010, 5:51 am
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.
trinhanhngoc
Posts: 23 Joined: May 23rd, 2010, 3:48 pm
Post
by trinhanhngoc » June 20th, 2010, 6:28 am
Thank you