Run script from another script

This is probably an obvious question, I have added a function via the + sign (add javascript function), how can I access this from another script, I have tried:

myScript();

document.myScript();

Hi sanjshah!

The following might be what You are looking for. The code format looks like:

hypeDocument.functions().myFunctionName(hypeDocument, element, event);
// myFunctionName = name of calling function
3 Likes