Creating buttons in the tool register of the PDF-XChange Editor,
after clicking the buttons the action desired runs like a charm.
Now I came across the following:
I press one button and at the end of the script I have a yes/no dialog.
The separate file with only one function in it works if called through the button I created.
The file name and the function name are
No parameters to pass.filename "dblpagenumbers.js"
function "function dblpagenumbers()"
if I call in the script the function from the other script
I get the error at the last line of the script:dblpagenumbers();
App:Init:204: TypeError: this.flattenPages is not a function
So again the scripts are working well if called separately from the menubuttons.
Is there any hint/syntax to call a function from the same directory
from another script?
Simple thing long explained, hope you understand,