Copy link to clipboard
Copied
how can i write a script that selects three text frames at a time, and then runs the merge text frames script and selects the merge document button on the dialog box, and then repeats til the end of the document.
Copy link to clipboard
Copied
Hi,
Use #include <your next script>, #include <your next script>, #include <your next script>........
it will run one one..but remember all the scripts should be in one folder
Karthi
Copy link to clipboard
Copied
It is quite easy to run a script from another script. Simply use:
app.doScript(File('path to the other script'));
but simulating clicks on the dialog buttons is next to impossible (it might be possible, in a windows enviroment to use a combination of vbscript and AutoIt - AutoIt, but in the end it's such a hassle you would better just write the whole script from scratch to do what you need)
Copy link to clipboard
Copied
Hi,
Another way to call the another script.
#includepath "/..../..../..../....../10_CheckList_Testing"
#include "XXXX_FirstPart.jsx"
Your Original Script
#includepath "/..../..../..../....../10_CheckList_Testing"
#include "XXXX_SecondPart.jsx"
Copy link to clipboard
Copied
to new to scripting to write it myself. Really wish i could, i just doing simple scripts right now. real simple.
Copy link to clipboard
Copied
thanks for the advice guys i will try it both ways.