It is currently April 28th, 2024, 7:56 am

[Suggestion] Mouse scroll action

Report bugs with the Rainmeter application and suggest features.
User avatar
lysy1993lbn
Posts: 291
Joined: July 25th, 2011, 9:53 am
Location: Lublin, Poland

[Suggestion] Mouse scroll action

Post by lysy1993lbn »

Is it possible to add action which will be executed when "scrolling" on some meter?

Soomething like this

[Meter]
Meter=Iamge
SolidColor=0,0,0,50
ScrollUpAction=! bang for increase system volume or something
ScrollDownAction=! bang for decrease system volume or something
"Never argue with an idiot, he will drag you down to his level and beat you with experience."
my deviantART | Alternative Rainmeter tray icons
User avatar
jsmorley
Developer
Posts: 22631
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: [Suggestion] Mouse scroll action

Post by jsmorley »

lysy1993lbn wrote:Is it possible to add action which will be executed when "scrolling" on some meter?

Soomething like this

[Meter]
Meter=Iamge
SolidColor=0,0,0,50
ScrollUpAction=! bang for increase system volume or something
ScrollDownAction=! bang for decrease system volume or something
There are no current plans for introducing mouse dragging or scrolling actions. Your suggestion is certainly noted however.
User avatar
KreAch3R
Posts: 608
Joined: February 7th, 2011, 7:27 pm
Location: Thessaloniki, GR

Re: [Suggestion] Mouse scroll action

Post by KreAch3R »

If it makes any difference, count me in on scrolling actions... :)
Last edited by KreAch3R on April 21st, 2012, 11:29 pm, edited 1 time in total.
Inactive, due to life changes. Send me a PM for any question.

Desktop DeviartArt
Image
User avatar
lysy1993lbn
Posts: 291
Joined: July 25th, 2011, 9:53 am
Location: Lublin, Poland

Re: [Suggestion] Mouse scroll action

Post by lysy1993lbn »

Thank You :)

BTW. Would be nice if Coordinates in Manage Rainmeter window could be controlled by mouse scroll too :)

PS. Also mouse hold action would be pretty useful.. for example for controling track progress in Poiru's NowPlaying plugin..
Hold on button instead of click several times...
"Never argue with an idiot, he will drag you down to his level and beat you with experience."
my deviantART | Alternative Rainmeter tray icons
User avatar
smurfier
Moderator
Posts: 1931
Joined: January 29th, 2010, 1:43 am
Location: Willmar, MN

[Suggestion] Mouse scroll action

Post by smurfier »

Mousehold can be emulated.

Code: Select all

[Variables]
Amount=0

[Hold]
Measure=Calc
Formula=Hold+1
Disabled=1

[Meter]
LeftMouseDownAction=!EnableMeasure Hold
LeftMouseUpAction=!SetVariable Amount [Hold]
DynamicVariables=1
GitHub | DeviantArt | Tumblr
This is the song that never ends. It just goes on and on my friends. Some people started singing it not knowing what it was, and they'll continue singing it forever just because . . .
User avatar
lysy1993lbn
Posts: 291
Joined: July 25th, 2011, 9:53 am
Location: Lublin, Poland

Re: [Suggestion] Mouse scroll action

Post by lysy1993lbn »

smurfier wrote:Mousehold can be emulated.

Code: Select all

[Variables]
Amount=0

[Hold]
Measure=Calc
Formula=Hold+1
Disabled=1

[Meter]
LeftMouseDownAction=!EnableMeasureHold
LeftMouseUpAction=!SetVariable Amount [Hold]
DynamicVariables=1
Thanks :thumbup: but where should I put deserved on hold action?

BTW. Would be cool if you introduce it as bang nativiely anyway :)
"Never argue with an idiot, he will drag you down to his level and beat you with experience."
my deviantART | Alternative Rainmeter tray icons
User avatar
smurfier
Moderator
Posts: 1931
Joined: January 29th, 2010, 1:43 am
Location: Willmar, MN

Re: [Suggestion] Mouse scroll action

Post by smurfier »

On the meter's LeftMouseUpAction you set whatever bang you want, where [Hold] is the number of updates since you have pressed the mouse button down on the meter.
GitHub | DeviantArt | Tumblr
This is the song that never ends. It just goes on and on my friends. Some people started singing it not knowing what it was, and they'll continue singing it forever just because . . .