Page 1 of 1

Rebing Mouse Actions

PostPosted: Tue Jun 08, 2021 8:22 pm
by Swerik
I would like to use Ctrl+Scroll for zooming (what Alt+Scroll does now) and similar stuff.

Currently, I am using AutoHotKey for this but this isn't perfect because when my CPU reaches 100% it does not work anymore and the original action happens.

My settings for example:
Ctrl+Scroll does what Alt+Scroll did.
Alt+Scroll does what Shift+Scroll did.
Shift+Scroll does what Ctrl+Scroll did.

Re: Rebing Mouse Actions

PostPosted: Wed Jun 09, 2021 4:06 pm
by Jim Simon
There is already a request to add Customization to mouse shortcuts. Add your vote.

viewtopic.php?f=33&t=127347

Re: Rebing Mouse Actions

PostPosted: Wed Jun 09, 2021 4:41 pm
by visualfeast
Swerik wrote:Currently, I am using AutoHotKey for this but this isn't perfect because when my CPU reaches 100% it does not work anymore and the original action happens.


You should be able to fix this by setting AHK to a high priority. Add this to the top of your script:

Code: Select all
Process, Priority,, High  ; Have the script set itself to high priority.

Re: Rebing Mouse Actions

PostPosted: Thu Jun 10, 2021 8:40 pm
by Swerik
You should be able to fix this by setting AHK to a high priority. Add this to the top of your script:


already did that, it helps but doesn't fix it.
It makes it more consistent but it still gets skipped often.

Re: Rebing Mouse Actions

PostPosted: Thu Jun 10, 2021 9:46 pm
by visualfeast
Do you mind sharing your script? There may be other optimizations that could be done.

Re: Rebing Mouse Actions

PostPosted: Fri Jun 11, 2021 4:24 pm
by Swerik
visualfeast wrote:Do you mind sharing your script? There may be other optimizations that could be done.


here is the script
https://gist.github.com/TheSwerik/9a4f3 ... a9cce8cbbe