Creating buttons and things with "hover"-effects would be much easier with a !bang.
for example:
MouseOverAction=!execute [!RainmeterChangeMeter "StringStyle BOLD"]
and for multiple changes:
MouseOverAction=!execute [!RainmeterChangeMeter "StringStyle BOLD" "FontColor 255,255,0"]
The idea is very simple, but the actual realisation wouldn't be that easy i assume.
what do you think? is it possible to realize?
It is currently December 5th, 2023, 11:44 am
bang to change meter
-
- Posts: 98
- Joined: July 30th, 2009, 12:17 am
Re: bang to change meter
To expand on this concept.
It could also allow for color change.
LeftMouseDownAction=!execute ["fontColor.Text=255, 255, 255, 160"]
This would require a refresh: Yes
and that the Variables can be written to.
It could also allow for color change.
LeftMouseDownAction=!execute ["fontColor.Text=255, 255, 255, 160"]
This would require a refresh: Yes
and that the Variables can be written to.
-
- Developer
- Posts: 98
- Joined: August 6th, 2009, 3:03 pm
Re: bang to change meter
The easiest way to do this is to use !RainmeterSetVariable and use variables in your meters and measures. You need to have DynamicVariables on though.
Code: Select all
[Meterstring]
Meter=STRING
FontColor=#colorvar#
FontFace=Trebuchet MS
FontSize=#var#
LeftMouseDownAction=!RainmeterSetVariable var 50
RightMouseDownAction=!RainmeterSetVariable colorvar 255,255,255,255
DynamicVariables=1
-
- Posts: 98
- Joined: July 30th, 2009, 12:17 am
Re: bang to change meter
mhm... haven't thought about that...MattKing wrote:The easiest way to do this is to use !RainmeterSetVariable and use variables in your meters and measures. You need to have DynamicVariables on though.
Code: Select all
[Meterstring] Meter=STRING FontColor=#colorvar# FontFace=Trebuchet MS FontSize=#var# LeftMouseDownAction=!RainmeterSetVariable var 50 RightMouseDownAction=!RainmeterSetVariable colorvar 255,255,255,255 DynamicVariables=1
Re: bang to change meter
Blurb
I am on it

I am on it
