Article View: adobe.scripting.indesign
Article #15895Re: Software for writing JS
From: Dave_Saunders
Date: Wed, 12 Nov 2003 12:34
Date: Wed, 12 Nov 2003 12:34
9 lines
1473 bytes
1473 bytes
I find the debugger to be very useful, albeit a little clunky in some regards (you can't copy and paste results from the results window to an external editor for later study, for instance, nor can you have it echo the command you just typed into the results window, ahead of the result -- mind you, you could simulate that by typing a more complicated command). Don't overlook using the alert command as a debugging too, too. You can say things like: alert(myVariable); at any point in your script. With BBedit at least -- probably with anything but I've only tried BBedit, you don't have to close the text file in order to run the script, so you can quickly navigate back to your script to make adjustments. It's not as smooth as Script Debugger's debugging environment, but it's quite effective. Dave
Technical Details
Message-ID:
<2cce577d.1@webx.la2eafNXanI>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.media.kyoto-u.ac.jp!newsfeed01.sul.t-online.de!t-online.de!webxReferences:
<2cce577d.-1@webx.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f939a,af8679b67054a56f X-Google-Attributes: gidf939a,public X-Google-ArrivalTime: 2003-11-12 04:37:37 PST From: Dave_Saunders@adobeforums.com Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.media.kyoto-u.ac.jp!newsfeed01.sul.t-online.de!t-online.de!webx Newsgroups: adobe.scripting.indesign Subject: Re: Software for writing JS Message-ID: <2cce577d.1@webx.la2eafNXanI> Date: Wed, 12 Nov 2003 04:34:33 -0800 References: <2cce577d.-1@webx.la2eafNXanI> Lines: 19 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit