I want to say somethings first, i am vietnamese and i know a little english but no good, i try to find how to make MouseScrollAction, but so hard.
I tried many ways
It is currently April 19th, 2024, 1:14 am
help me, how to make MouseScrollAction
-
- Posts: 2
- Joined: February 9th, 2020, 7:38 am
-
- Posts: 908
- Joined: December 30th, 2015, 9:47 am
Re: help me, how to make MouseScrollAction
Hi Bobyyy
Following is a simple code sample for the MouseScroll actions.
Copy/paste this code to text editor, and save as ini file in your Rainmeter skin folder, and load it from Rainmeter Manage dialog. Mouse scroll-up increments the digit and scroll-down decrements.
Following is a simple code sample for the MouseScroll actions.
Code: Select all
[Rainmeter]
Update=1000
[Variables]
ChangingDigit=10
[DigitMeter]
Meter=String
SolidColor=192,192,192,192
FontSize=48
Text=#ChangingDigit#
MouseScrollUpAction=[!SetVariable ChangingDigit (#ChangingDigit#+1)][!UpdateMeter DigitMeter][!Redraw]
MouseScrollDownAction=[!SetVariable ChangingDigit (#ChangingDigit#-1)][!UpdateMeter DigitMeter][!Redraw]
DynamicVariables=1
-
- Posts: 2
- Joined: February 9th, 2020, 7:38 am
Re: help me, how to make MouseScrollAction
I did it and i succeed. Thank you for your help and have a good day, bro