🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: adobe.scripting.indesign
2 messages
2 total messages Started by Rick_Quatro Tue, 17 Feb 2009 18:24
[CS4 JavaScript] Script launching ExtendScript
#1122
Author: Rick_Quatro
Date: Tue, 17 Feb 2009 18:24
7 lines
1203 bytes
I have several scripts that I have written and tested with ExtendScript Toolkit. When my users run the scripts, they access them from the Scripts palette. With a couple of the scripts, the users say that ExtendScript sometimes launches. These scripts have Try/Catch blocks in certain locations. If my script throws an error in one of these blocks, does ExtendScript automatically launch? I am having difficulty duplicating the problem here.

A related question: Is there any way to suppress the launching of ExtendScript when an error occurs? Thank you very much.

Rick Quatro
rick at frameexpert dot com
585-659-8267
Re: [CS4 JavaScript] Script launching ExtendScript
#1123
Author: Dave_Saunders
Date: Tue, 17 Feb 2009 18:29
3 lines
742 bytes
Search the scripts for $.writeln -- that writes to the JS console and will cause ESTK to launch. try/catch by itself won't trigger ESTK.

Dave
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads