OK! SO, with all the help I've received from this forum over the last few days, I have finally finished my script, and I'm ready to package it up and send it off to the users.
I want to "Export as Binary" from the ESTK. I then want my users to put the scripts in their InDesign server Scripts folder. My folder structure looks something like this:
The contents of startup.jsx is a near-clone of the 'Export as XHTML' folder I found in the Scripts dir. I've trimmed it to suit my needs.
Now, I restart InDesign service, and it appears to execute my startup.jsx (I can see it in the App logs).
I don't think I'm doing this correctly, though, because a telltale function, "hello()", is not apparently available. I wrote a simple SOAP call to InDesign which does nothing more than try to execute hello(), and I keep getting error in my logs, "hello is not a function" -- Boo! Hiss!
What's going on here? Am I doing this correctly?
Chances are you are relying on a persistent engine, but your binary script is not being run in a persistent engine. You can not specify the engine name in the jsxbin. You need to specify that in a regular script.
This has been discussed many times on this forum...
Yes, I've picked up some traces of this whilst browsing the forums, but given the fragmented nature of some of these posts, I have not been able to coalesce the information into a very clear picture.
Thanks for your speedy reply.