Macro for scrollwheel zooming

Hi all,

I am trying to make a key behave like a scrollwheel zoom (control+scrollwheel zooms in or out) as show in the picture. Unfortunately, it does not zoom in or out, but only scrolls the document.

Any idea what I am doing wrong?

Thanks in advcance!
Schermafbeelding 2023-08-14 092554

Scancodes and scrolling are communicated over different USB interfaces, which means that in such a rapid sequence, the target app may be receiving them in wrong order.

In other words, add some short delays around the scroll action.


That helped, thanks a lot!

1 Like