Can autohotkey tell between "paneable" pannels and "scrollable" pannels?

Get help with using AutoHotkey (v2 or newer) and its commands and hotkeys
forikundo
Posts: 2
Joined: 21 Mar 2023, 15:25

Can autohotkey tell between "paneable" pannels and "scrollable" pannels?

Post by forikundo » 22 Mar 2023, 03:20

Im sorry if the question sounds weird, It will make sense with a short explanation.

I work with a lot of different apps that you ned to pan (usually pressing spacebar) like photoshop, illlustrator or Figma. I also work with a wacom tablet and I have a ahk script working that when I press the left button of the pen tablet it drag-scrolls (like you would on a phone), on the other hand if instead pressing the left button I press the spacebar and drag the pen tablet it pans as it should. Is it possible for autohotkey to merge this 2 commands into the left button of the pen tablet (or any key for this matter) so it detects when the pannels is "paneable" and fires the space bar or fires the scroll script when is a Scrollable?



In the next image I show an example

https://imgur.com/a/ENoxGek

Return to “Ask for Help (v2)”