Mouse Actions
Mouse actions are commands you add to a meter or the [Rainmeter] section to execute an action on a specific mouse event.
Note: When using a mouse action on a string meter or image meter with transparency, you must click exactly on the meter text or image, as the transparent areas do not react to clicks. This can be solved by adding SolidColor=0,0,0,1 to the meter, which will create an near-invisible but solid background behind the meter element.
Also note that actions defined for the meter will override actions defined in the [Rainmeter] section.
- LeftMouseDownAction
A command or a bang that will be executed when the left mouse button is pressed down over the meter. Note that this disables dragging. - RightMouseDownAction
A command or a bang that will be executed when the right mouse button is pressed down over the meter. Note that this disables the context menu. - MiddleMouseDownAction
A command or a bang that will be executed when the middle mouse button is pressed down over the meter. - LeftMouseUpAction
A command or a bang that will be executed when the left mouse button is released over the meter. - RightMouseUpAction
A command or a bang that will be executed when the right mouse button is released over the meter. Note that this disables the context menu. - MiddleMouseUpAction
A command or a bang that will be executed when the middle mouse button is released over the meter. - LeftMouseDoubleClickAction
A command or a bang that will be executed when the left mouse button is double clicked on the meter. If this action is missing, LeftMouseDownAction will be executed. - RightMouseDoubleClickAction
A command or a bang that will be executed when the right mouse button is double clicked on the meter. Note that this disables the context menu. - MiddleMouseDoubleClickAction
A command or a bang that will be executed when the middle mouse button is double clicked on the meter. - MouseOverAction
A command or a bang that will be executed when the mouse goes over the meter or entire skin. - MouseLeaveAction
A command or a bang that will be executed when the mouse leaves the meter or entire skin. - MouseActionCursor
When set to 1 (which is the default), a pointer cursor will be shown when hovering over a meter (or skin) with a mouse action.
The default for a specific skin can be set to 0 by puttingMouseActionCursor=0in the [Rainmeter] section of the skin. This can then be overridden on a meter by meter basis withMouseActionCursor=1.
Note: If you have a meter or button with a mouse action, and there is a meter on top of it, you will need to setMouseActionCursor=0on the foreground meter (even if it does not have a mouse action).