Is there a command to trigger apps tools based on their icon/image?

Discussion, questions and support.
Post Reply
cadudesun
Posts: 103
Joined: Jun 6th, ’15, 03:28

Post by cadudesun » Sep 10th, ’17, 17:14

Hi,

I'd appreciate help.

As showed in the snapshot below, there are several icons for tools in the app interface. There is no default shortcut and the only way to access the tools is by clicking on its respective icon.

Is it possible to create a command in which a custom shortcut will trigger the tools based on their icon/image?

Thanks!

Image
User avatar
Marko
Posts: 1719
Joined: Mar 2nd, ’13, 21:02

Post by Marko » Sep 12th, ’17, 09:38

In my Snagit version (13), the tools can be selected with a shortcut, for example Ctrl-5 for Fill.

In general, if a shortcut or Control Class is not available for particular control, you could use a click command to click a mouse button at the specified window coordinates. Get coordinates of the icon using Window Information tool. If needed, also set coordinate mode (screen or window).

https://autohotkey.com/docs/commands/Click.htm

Code: Select all

CoordMode, Mouse, Window
Click 44, 55   ;get coordinates using Window Information tool
Post Reply