Article View: adobe.scripting.indesign
Article #18369Re: AS Set crieria for new line......
From: Olivier Berquin
Date: Thu, 03 Apr 2003 07:16
Date: Thu, 03 Apr 2003 07:16
34 lines
1351 bytes
1351 bytes
Hi Jay, > Since this usually takes a long time, I added a time-stamp at > the top & bottom to tell me how long it took. I use this more simple function: -- at the beginning of the script: set StartTime to time of (current date) -- time of (current date) give me the number of seconds from midnight. -- "current date" is defined in the "StandardAdditions" osax, -- NOT in the Finder... -- Do your stuff here... -- at the end of the script: set EndTime to time of (current date) set TimeDifference to EndTime - StartTime display dialog "Time : " & TimeDifference Olivier.
Technical Details
Message-ID:
<1de88de4.5@WebX.la2eafNXanI>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-01!sn-xit-08!supernews.com!newsfeed.news2me.com!newsfeed.media.kyoto-u.ac.jp!newsfeed01.sul.t-online.de!t-online.de!WebXReferences:
<1de88de4.-1@WebX.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f939a,8281d9502f387775 X-Google-Attributes: gidf939a,public X-Google-ArrivalTime: 2003-04-02 23:40:08 PST From: "Olivier Berquin" <olb@microscript.com> Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-01!sn-xit-08!supernews.com!newsfeed.news2me.com!newsfeed.media.kyoto-u.ac.jp!newsfeed01.sul.t-online.de!t-online.de!WebX Newsgroups: adobe.scripting.indesign Subject: Re: AS Set crieria for new line...... Message-ID: <1de88de4.5@WebX.la2eafNXanI> Date: Wed, 2 Apr 2003 23:16:07 -0800 References: <1de88de4.-1@WebX.la2eafNXanI> Lines: 29 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit