So I want to do following: lets say you go top of screen with mouse and you have some 1% transparent image that has mouseoveraction there. so if you mouse over something !rainmetershowmeter comes avaliable. But what I want is that it would not come right when i mouseover but lets say about 5 seconds later.
This thing possible in rainmeter?
Appriciate any help.
It is currently April 28th, 2024, 5:45 pm
Some ping or timeout ?
-
- Posts: 18
- Joined: May 19th, 2011, 11:10 am
-
- Developer
- Posts: 2872
- Joined: April 17th, 2009, 12:18 pm
Re: Some ping or timeout ?
You could have something like this:
.. where METERNAME is the meter you want to show after the timeout. Remember to add Hidden=1 to that meter.
Code: Select all
[Rainmeter]
Update=1000
MouseOverAction=!Execute [!RainmeterEnableMeasure mCounter][!RainmeterRedraw]
MouseLeaveAction=!Execute [!RainmeterDisableMeasure mCounter][!RainmeterHideMeter METERNAME][!RainmeterRedraw]
...
[mCounter]
Measure=Calc
Formula=mCounter + 1
IfAboveValue=3
; specify timeout value here
IfAboveAction=!Execute [!RainmeterShowMeter METERNAME][!RainmeterRedraw]
Disabled=1
-
- Posts: 18
- Joined: May 19th, 2011, 11:10 am
Re: Some ping or timeout ?
Woah, very cool. Thanks poiru. Just one more thing. is it possible like you know C has AND OR IF ELSE commands something like that in rainmeter? for example you type something in textbox and if it reconizes something it !rainmetershowmeter
-
- Developer
- Posts: 2872
- Joined: April 17th, 2009, 12:18 pm
Re: Some ping or timeout ?
You can use the Script measure (for proper logical statements with Lua) or alternatively mess with IfAbove/Equal/BelowAction and the logical operators in the Calc measure.KA-LA wrote:Woah, very cool. Thanks poiru. Just one more thing. is it possible like you know C has AND OR IF ELSE commands something like that in rainmeter? for example you type something in textbox and if it reconizes something it !rainmetershowmeter
-
- Posts: 18
- Joined: May 19th, 2011, 11:10 am
Re: Some ping or timeout ?
Damn how much the RM has changed since I last used it