please Give us "app.currentTool" !
hello Adobe,
While scripting, I oftentimes want to know what is the currently active tool, so that I change what my hotkeys do based on that.
For example, if I have the paint brush or the blob brush tools selected, then I want [ and ] (or other hotkeys) to change the brush size, but if I have other tools selected, then I want them to increase/decrease the width of currently-selected shapes. Another example would be to switch to the zoom tool using any given hotkey as long as it's held, and then go back to the tool that was currently selected, or we can use that to "spring-load" tools...
Just having "app.currentTool" (just like photoshop), even the tool name without any of its parameters, would open up a whole new world of possibilities for scripting, especially that now we have app.selectTool() . Exposing the tool functions within "app.currentTool" would elevate Illustrator a whole new level, but baby-steps, I guess. I'm not asking for much, am I?
Currently, I keep on tracking what tool is selected using variables in my script, but that can easily break if I change the tool using the toolbar for example.
Please, please, please please give us that
