Run it in another script engine with ID… Im at a CS2 box just now sorry can't remember the names…
Add to the beginning of your script:
Thanks a lot Harbs
I never knew that I had such a magic name
I was just trying out the script on your scriptbay as you sent this reply, interestingly enough when I run it on scriptbay with or without the #targetengine the console give me the error message: execution halted. I don't get that when I run it from the adobe extend tol kit. why is that?
Which console? It's hard to say without seeing the script. Would you mind showing it to me?
ScriptBay runs all scripts inside a persistent scripting engine (but it's not a bad idea to use your own?
I had only tried the one script on the scritbay cosole version 0.1.5 downloaded today.
I have indesign ME CS5 v7.03 on windows 7
the script I tried that gave the error was the one above I tried a different script which didn't give any error messages.
Now look at the following 2 screen shots.
In the top shot you can see the error message.
The second shot is the big mystery.
By mistake I added my whole scripts folder to the right section (see next shot)
I double clicked on the scripts folder and as you can well guess the scriptbay didn't expand the folder like I thought it would as the regular scripts pannel does rather it run all the scripts
the only way I could get it to stop was by forcing an program end on indesign.
My big problem no is "confidential" No! I don't mean it's a secret I mean the word confidential apears on ALL my NEW documents
I tried looking through the scripts to find what could have caused it but no luck there.
1) any ideas how to get rid of it?
2) any better way of stopping the scripts run?
Great no more confidential!
found the Command in the adobe scripting guide
app.watermarkPreferences.watermarkVisibility = false;
1 person found this helpful
Hitting the Escape button stops a script, but you'll have to do that for every script...
This is an example of a feature becoming a nuisance...
I have not yet come up with a way of avoiding the situation you were in. I might make launching multiple scripts by double clicking an option...