It is currently May 19th, 2019, 7:45 am
Changes made during the Rainmeter 2.5 beta cycle and earlier.
- Posts: 12
- Joined: October 6th, 2011, 11:59 pm
Update: Today's beta removes the need to click on a skin to give it "focus" before using mouse scroll wheel options.
In the latest beta
, we have added several more mouse actions
as well as the ability to run bang(s) when the skin gets or loses focus
Mouse Wheel Scrolling Actions:
Extra Mouse Buttons:
- The following actions can be placed under any meter and/or the [Rainmeter] section (just like other mouse actions). Like other mouse actions, your cursor needs to placed over the meter for the scrolling action to fire (or over the skin if used in the [Rainmeter] section).
- MouseScrollDownAction: Action to execute when the mouse wheel is rotated downward.
- MouseScrollUpAction: Action to execute when the mouse wheel is rotated upward.
- MouseScrollLeftAction: Action to execute when the mouse wheel is tilted or rotated to the left. Note: Not all mice have this capability.
- MouseScrollRightAction: Action to execute when the mouse wheel is tilted or rotated to the right. Note: Not all mice have this capability.
(These work just like Left/Right/Middle mouse actions.)
Skin Focus Actions:
- Note: Some manufacturers and/or software have the ability to change what each extra button can do, therefore these actions may not work for everyone. It is not recommended to distribute skins that rely on these actions.
- These must be placed in the [Rainmeter] section.
- OnFocusAction: Action to execute when the skin gets focus (usually by clicking the mouse somewhere on the skin).
- OnUnfocusAction: Action to execute when the skin loses focus.
- Posts: 19245
- Joined: April 19th, 2009, 11:02 pm
- Location: Fort Hunt, Virginia, USA
Here is a simple skin that demonstrates the new mouse wheel options including the change today to not require "focus" on the skin to use them:
Code: Select all
MouseOverAction=[!SetOption MeterVolumeBar BarColor 189,255,168,255][!UpdateMeter MeterVolumeBar][!Redraw]
MouseLeaveAction=[!SetOption MeterVolumeBar BarColor 161,232,139,255][!UpdateMeter MeterVolumeBar][!Redraw]
Information=Controls the system volume by scrolling the mouse wheel. Change VolumeIncrement to have the change be larger or smaller on each scroll. Clicking the speaker icon toggles mute.||Requires Windows 7 or better.
License=Creative Commons Attribution-Non-Commercial-Share Alike 3.0
Version=Nov 15, 2012
IfBelowAction=[!SetOption MeterVolumeIcon ImageName "#@#Images\mute_white.png"][!SetOption MeterVolumeText Text "Mute"][!UpdateMeter MeterVolumeText][!UpdateMeter MeterVolumeIcon][!Redraw]
IfAboveAction=[!SetOption MeterVolumeIcon ImageName "#@#Images\volume_white.png"][!SetOption MeterVolumeText Text "[*MeasureWin7Audio:*]%"][!UpdateMeter MeterVolumeText][!UpdateMeter MeterVolumeIcon][!Redraw]
MouseScrollDownAction=[!CommandMeasure "MeasureWin7Audio" "ChangeVolume -#VolumeIncrement#"][Play #@#Sounds\MSVolume.wav][!Update]
MouseScrollUpAction=[!CommandMeasure "MeasureWin7Audio" "ChangeVolume +#VolumeIncrement#"][Play #@#Sounds\MSVolume.wav][!Update]
LeftMouseUpAction=[!CommandMeasure "MeasureWin7Audio" "ToggleMute"][Play #@#Sounds\MSVolume.wav][!Update]
You do not have the required permissions to view the files attached to this post.