🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #14855

Re: JS beginners help

#14855
From: Dave_Saunders
Date: Wed, 14 Jan 2004 18:39
3 lines
1016 bytes
It does nothing because you didn't reset the find/change attributes. This is an area where the scripting is borrowing techniques from the UI. Just like in the UI, whatever options are set for one search are the initial conditions for the next one. So, you either need to set new attributes or eliminate the options via the app.findPreferences and app.changePreferences.

Dave
Technical Details
Message-ID: <2ccf45cf.18@webx.la2eafNXanI>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!webx
References: <2ccf45cf.-1@webx.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f939a,613db9f5b5ffc527
X-Google-Attributes: gidf939a,public
X-Google-ArrivalTime: 2004-01-14 11:08:06 PST
From: Dave_Saunders@adobeforums.com
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!webx
Newsgroups: adobe.scripting.indesign
Subject: Re: JS beginners help
Message-ID: <2ccf45cf.18@webx.la2eafNXanI>
Date: Wed, 14 Jan 2004 10:39:31 -0800
References: <2ccf45cf.-1@webx.la2eafNXanI>
Lines: 8
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit