16 Replies Latest reply on Mar 31, 2017 3:58 AM by stevenc43

    Selecting specific menu items via javascript


      Is there any way of selecting tools (such as selection tool, direct selection tool, curvature tool, line segment tool etc) programmatically via javascript? I've written a custom tool panel extension with html/css and javascript and would like to include a few specific tools on it.


      I've been using the executeMenuCommand for actions such as grouping, ungrouping, zooming etc but couldn't seem to invoke any of the above. I've looked everywhere.


      Any help appreciated, thanks in advance.