This content has been marked as final. Show 3 replies
I had a similar problem in AppleScript (ID CS3). I revised a script which exports stories to InCopy format and it turned out that it works as expected when I run it from Script Editor or Script Debugger but exports nothing when running it from the scripts panel. I’m totally baffled with it.
I've had similar experiences with ESTK, in CS2 and CS3. It happens very rarely, and I've never been able to figure out what causes it.
Thanks for the response Kasyan and Peter. I was beginning to feel like that lone person afflicted by some rare scripting illness. I am going to try and solve this later today. I am thinking maybe I need to target INDD with a statement or define an application specific variable or something to ensure that the script "knows" what it is supposed to be doing when run from the scripts panel. I am still confounded why it would run differently, and all I can think is that when it is run from ESTK2, it understands something inherently that needs to be specifically defined when run from the scripts panel.
The other strange thing is that 90% of the script works as expected; it's just two specific find/change arguments that seem to get skipped.
If I can figure out what is going on, I will post here, in case someone in the future runs across a similar problem.