More Scripting Control over Panels, MenuItems, MouseEvents/Selections
It’ll be great, if e.g. I could hook into the mouse right click context menu of the paragraph styles panel, grab, which paragraph style was selected by the user, and perform some scripting tasks on this user selected paragraph style.
Or the user can select pages in the pages panel, perform the script (or right click to run the script from the context menu), which processes it’s scripting actions on the selected pages.
I think, there would be thousands of more clever use cases for such functionality. Allowing such actions will extend the power of scripting tremendously.
(I’m sorry, it’s not easy to find the right words for this in English, but I hope, you get the idea of it.)