Article View: adobe.scripting.indesign
Article #15829Re: JavaScript
From: Dave_Saunders
Date: Thu, 06 Nov 2003 21:54
Date: Thu, 06 Nov 2003 21:54
13 lines
1724 bytes
1724 bytes
Jay, Yes, I switched because of the wider horizons. Then I got an urgent complex job that had to be done in 2, so I've been AppleScripting like crazy for the last three or four weeks. I did not have much experience with JavaScript,and what I did have wasn't very useful. And there are some traps you can walk into, for instance, some references are resolved when you use them, not when you set them up, so, for instance, if you think you're looking at the second document, but you've since brought it to the front, you'll get the wrong document. I had a similar problem with paragraph styles. I needed to rename some (or a reason I can't remember). I ran into problems because the renaming changed the order and that screwed up my references. There are ways to force such references to be resolved up front, but it's the kind of thing you have to experience to really empathize with! Did you see the sample I posted on how to set a window size? Dave
Technical Details
Message-ID:
<2cce3d55.5@webx.la2eafNXanI>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!news-out1.nntp.be!propagator2-sterling!news-in-sterling.newsfeed.com!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!webxReferences:
<2cce3d55.-1@webx.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f939a,597df6b040ac10b5 X-Google-Attributes: gidf939a,public X-Google-ArrivalTime: 2003-11-06 14:08:14 PST From: Dave_Saunders@adobeforums.com Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!news-out1.nntp.be!propagator2-sterling!news-in-sterling.newsfeed.com!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!webx Newsgroups: adobe.scripting.indesign Subject: Re: JavaScript Message-ID: <2cce3d55.5@webx.la2eafNXanI> Date: Thu, 6 Nov 2003 13:54:18 -0800 References: <2cce3d55.-1@webx.la2eafNXanI> Lines: 23 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit