Article View: adobe.scripting.indesign
Article #14815Re: 2 Page Daily Calendar
From: Shane_Stanley
Date: Tue, 13 Jan 2004 07:50
Date: Tue, 13 Jan 2004 07:50
22 lines
1351 bytes
1351 bytes
On Jan 13, 2004, at 6:15 PM, Kari Puikkonen wrote: > so, what has changed from 2.0.2 to CS? Master page items are handled quite differently. Here's a CS version of the script: set thedate to date "Wednesday, December 31, 2003 12:00:00 AM" repeat with i from 1 to 366 set thedate to thedate + 1 * days set theDateString to date string of thedate tell application "InDesign CS" tell document 1 set thebox to override (text frame "Title" of master spread 1) destination page page i set contents of thebox to theDateString end tell end tell end repeat -- Shane Stanley <sstanley@myriad-com.com.au>
Technical Details
Message-ID:
<2A270DC8-459D-11D8-B512-003065D61B90@myriad-com.com.au>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!news2.google.com!news.maxwell.syr.edu!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!webxReferences:
<2ccf35cb.-1@webx.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f939a,e6b2c63e31d4ddf8 X-Google-Attributes: gidf939a,public X-Google-ArrivalTime: 2004-01-13 00:07:32 PST From: Shane_Stanley@adobeforums.com Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.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: 2 Page Daily Calendar Message-ID: <2A270DC8-459D-11D8-B512-003065D61B90@myriad-com.com.au> Date: Mon, 12 Jan 2004 23:50:32 -0800 References: <2ccf35cb.-1@webx.la2eafNXanI> Lines: 24 X-Mailer: Apple Mail (2.609) MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit