Is there an easy way to disable and toggle mouse detection on a window? I am currently turning clickthrough on and off to do this — mouse detection causes significant stuttering to animations (lua tween) — it's toggled on until the animation is complete.
I would like to toggle mouse detection without allowing clicks through the window.
Would the only solution to this be to have another invisible window in front of it and use MouseOverAction=[] and !ClearMouseAction bang when the animation is complete?
Or is there an easier way to actually disable the mouse detection for a window without creating another window?
It is currently April 26th, 2024, 2:05 pm
Disabling/toggling all mouse detection on a window without using Click Through?
-
- Posts: 268
- Joined: May 12th, 2019, 8:55 am
-
- Posts: 571
- Joined: February 28th, 2011, 3:20 pm
- Location: Vienna, Austria
Re: Disabling/toggling all mouse detection on a window without using Click Through?
Maybe one/some of the following bangs would be useful for you?
Mouse Action State Bangs: https://docs.rainmeter.net/manual/bangs/#MouseAction
Mouse Action State Bangs: https://docs.rainmeter.net/manual/bangs/#MouseAction
-
- Moderator
- Posts: 1254
- Joined: February 16th, 2012, 3:32 am
- Location: Berlin, Germany
Re: Disabling/toggling all mouse detection on a window without using Click Through?
If you want to disable/enable meter there are !DisableMouseAction and !EnableMouseAction bangs.Cariboudjan wrote: ↑February 23rd, 2022, 10:26 pm is there an easier way to actually disable the mouse detection for a window without creating another window?
If you want to toggle the mouse action then there is !ToggleMouseAction bang.
https://docs.rainmeter.net/manual/bangs/#MeterBangs
-
- Rainmeter Sage
- Posts: 16173
- Joined: October 11th, 2010, 6:27 pm
- Location: Gheorgheni, Romania
Re: Disabling/toggling all mouse detection on a window without using Click Through?
My question is what exactly you do mean by "mouse detection"?Cariboudjan wrote: ↑February 23rd, 2022, 10:26 pm Is there an easy way to disable and toggle mouse detection on a window?
-
- Posts: 268
- Joined: May 12th, 2019, 8:55 am
-
- Rainmeter Sage
- Posts: 16173
- Joined: October 11th, 2010, 6:27 pm
- Location: Gheorgheni, Romania
Re: Disabling/toggling all mouse detection on a window without using Click Through?
Let's see if I understood, because I still am not entirely sure. Would you like not to execute for instance some MouseOverAction / MouseLeaveAction options in some circumstances? And what do you mean by "window"? General window or a skin?Cariboudjan wrote: ↑February 25th, 2022, 1:58 am Rainmeter checking the position of the cursor as it moves over a window.
-
- Posts: 268
- Joined: May 12th, 2019, 8:55 am
Re: Disabling/toggling all mouse detection on a window without using Click Through?
Skin window - And I would prefer Rainmeter to do no mouse processing for the duration of the animation (as it causes animation stuttering even on extremely fast cpus)
-
- Rainmeter Sage
- Posts: 16173
- Joined: October 11th, 2010, 6:27 pm
- Location: Gheorgheni, Romania
Re: Disabling/toggling all mouse detection on a window without using Click Through?
I'm sorry, but I can't follow you. What you mean by "mouse processing"? What is this? (Sorry, my English is definitely not the best one)Cariboudjan wrote: ↑February 25th, 2022, 6:02 pm And I would prefer Rainmeter to do no mouse processing for the duration of the animation (as it causes animation stuttering even on extremely fast cpus)
Please pack the config and upload it, along with a description of what exactly would you like to achieve (what and when to do - for instance the skin not to react to mouse hovering while the animation is running).
-
- Rainmeter Sage
- Posts: 5407
- Joined: April 12th, 2012, 9:40 pm
- Location: Cedar Point, Ohio, USA
Re: Disabling/toggling all mouse detection on a window without using Click Through?
Did [!DisableMouseAction * *] improve the effect?Cariboudjan wrote: ↑February 25th, 2022, 6:02 pm Skin window - And I would prefer Rainmeter to do no mouse processing for the duration of the animation (as it causes animation stuttering even on extremely fast cpus)
That should disable all mouse actions on all meters in the skin, but Rainmeter may still be checking the mouse position even though all actions are disabled.
:: My DA Gallery :: Rainmeter DA Gallery :: Rainmeter Workshops :: Rainmeter Documentation :: BBCode Guide ::
-
- Posts: 518
- Joined: May 4th, 2020, 3:01 pm
- Location: Ankara, TURKEY
Re: Disabling/toggling all mouse detection on a window without using Click Through?
You can define a forbidden area.
When mouse on that area, you can kick out the mouse from that area.
i dont know maybe works.
You can try MouseXY Plugin
https://forum.rainmeter.net/viewtopic.php?t=22900
When mouse on that area, you can kick out the mouse from that area.
i dont know maybe works.
You can try MouseXY Plugin
https://forum.rainmeter.net/viewtopic.php?t=22900
I don't know where i going from here, but i promise it won't be boring...