Script File in my panel and setting its
Script File attribute to the desired path, e.g.
I:\someFolder\theScript.jsx. This way, I can keep InDesign open and simply modify the script, save it, and press the button again to test it.
In the deployed version of the panel, however, I would like the button to point to a compiled version of the same script, e.g.
I could simply change the
Script File attribute, but I have many of these buttons and it could become quite time consuming. I was kind of hoping I could use variables here, like so:
thePath = "I:\someFolder\" theExtension = ".jsx"
Script File attribute would become
thePath + "theScript" + theExtension and I could change all the paths of all the buttons by simply changing these variables:
thePath = "I:\someOTHERfolder\" theExtension = ".jsxbin"
Is something like this possible?