How to change the selected plugin tool, using SDK API functions?
Hi all,
another question has come up. I already apologize if the answer is very simple, and I just missed it so far.
The following setup is used:
- Windows 10
- Adobe Illustrator 27.8.1 (64-bit)
- The latest SDK 2023
I have created one plugin with several different custom tools.
I have enabled selection-changed and tool-selected notifier, connected to callback-functions. Therefore, I know which tool is currently selected.
My goal now is to figure out how to change, which tool is selected or activated in Illustrator.
For example: One of my tools was selected by the user and then a specific button is clicked. Now I want the current tool to be disabled, and another tool to be enabled. Just as if the user would have clicked on the other tool icon in Illustrator.
So, my question is, which SDK suite or API functions can I use to tell Illustrator to disable the current tool and enabled one of my other tools instead.
Thank you very much in advance.
Fabian T.
