Run script from another script


#1

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();


#2

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