Article View: adobe.scripting.indesign
Article #14774Re: [AS] AppleEvent timed out
From: Dave_Saunders
Date: Fri, 16 Jan 2004 16:10
Date: Fri, 16 Jan 2004 16:10
10 lines
1251 bytes
1251 bytes
tell application "InDesign CS" with timeout of 1000 seconds place blah end timeout search and replace blah end tell Your syntax for search and replace isn't right. But you use the same technique for the timeout -- just use a number that is large enough that you're sure it will work in normal conditions, but not so large that when things go wrong you end up waiting a year for the error report. Dave
Technical Details
Message-ID:
<2ccf67ad.2@webx.la2eafNXanI>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!sn-xit-09!supernews.com!newshosting.com!nx02.iad01.newshosting.com!feed2.newsreader.com!newsreader.com!newsfeed.media.kyoto-u.ac.jp!newsfeed.icl.net!newsfeed.fjserv.net!proxad.net!newsfeed.tpinternet.pl!newsfeed01.sul.t-online.de!t-online.de!webxReferences:
<2ccf67ad.-1@webx.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f939a,6f466086d1701eda X-Google-Attributes: gidf939a,public X-Google-ArrivalTime: 2004-01-16 08:37:56 PST From: Dave_Saunders@adobeforums.com Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!sn-xit-09!supernews.com!newshosting.com!nx02.iad01.newshosting.com!feed2.newsreader.com!newsreader.com!newsfeed.media.kyoto-u.ac.jp!newsfeed.icl.net!newsfeed.fjserv.net!proxad.net!newsfeed.tpinternet.pl!newsfeed01.sul.t-online.de!t-online.de!webx Newsgroups: adobe.scripting.indesign Subject: Re: [AS] AppleEvent timed out Message-ID: <2ccf67ad.2@webx.la2eafNXanI> Date: Fri, 16 Jan 2004 08:10:09 -0800 References: <2ccf67ad.-1@webx.la2eafNXanI> Lines: 13 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit