orionmetrics
New member
Just wondering if there is anyway of linking the menu buttons to trigger javascript functions on current page, aswell as calling hescript macro functions or open pages ? if not possible directly thinking about using menu buttons to set a global variable (via a hescript macro), then the javascript via an event listerner detects the global variable set, then triggers a function. Is there a way to do it that way, and if so, could any help be given ?
Basically got a javascript based editing tool, and ideally would like to link a custom menu button to a javascript submit script to submit a hidden form holding user graphical data in the form of node vectors (shape editor).
Thanks.
Basically got a javascript based editing tool, and ideally would like to link a custom menu button to a javascript submit script to submit a hidden form holding user graphical data in the form of node vectors (shape editor).
Thanks.
Last edited: