Article View: adobe.scripting.indesign
Article #20754Re: Applescript: make a text frame on a master page
From: Shane Stanley
Date: Wed, 05 Jun 2002 10:38
Date: Wed, 05 Jun 2002 10:38
46 lines
2390 bytes
2390 bytes
in article ef8e3b9.12@WebX.aaQKaf7vad4, Olivier Berquin wrote:
> I think that it's more complicated to address an item and copy/paste/move it,
> rather than to create it !
>
>
> This is your approach:
> --
> tell application "InDesign 2.0.1"
> �tell document 1
> ��duplicate text frame "Caption" of master spread 1
> ��move result to page 2
> ��set geometric bounds of text frame "Caption" of page 2 to geometric bounds
> of text frame "Caption" of master spread 1
> �end tell
> end tell
> --
>
>
> This is mine:
> --
> tell application "InDesign 2.0.1"
> �tell document 1
> ��make text frame at page 2 with properties {geometric bounds:{"0 mm", "0 mm",
> "10 mm", "10mm"}, label:"Caption"}
> �end tell
> end tell
> --
>
>
>
> What do you think about that ? It is perhaps subtle... But, I know, each
> person works with these practices !
Yes, you're right -- provided the rest of the attributes are the default.
But the frame might have a stroke, or a different fill color, or different
settings for first baseline alignment, or vertical justification, or text
insets, or rotation... It's in these cases that a duplicate can be simpler
(but not a copy/paste).
But it's really a matter of what you think suits the particular situation.
The main point I was trying to make is that the methods that suited in
QuarkXPress won't always suit in InDesign.
--
Shane Stanley, sstanley@myriad-com.com.au
Technical Details
Message-ID:
<B9242734.31E9A%sstanley@myriad-com.com.au>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!supernews.com!195.40.4.120.MISMATCH!easynet-quince!easynet-monga!easynet.net!diablo.theplanet.net!newsfeed.icl.net!newsfeed.freenet.de!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebXReferences:
<ef8e3b9.-1@WebX.aaQKaf7vad4> <ef8e3b9.12@WebX.aaQKaf7vad4>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII X-Google-Thread: f939a,8e47b5875d947fcb X-Google-Attributes: gidf939a,public X-Google-ArrivalTime: 2002-06-05 04:08:07 PST From: Shane Stanley <sstanley@myriad-com.com.au> Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!supernews.com!195.40.4.120.MISMATCH!easynet-quince!easynet-monga!easynet.net!diablo.theplanet.net!newsfeed.icl.net!newsfeed.freenet.de!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebX Newsgroups: adobe.scripting.indesign Subject: Re: Applescript: make a text frame on a master page Message-ID: <B9242734.31E9A%sstanley@myriad-com.com.au> Date: Wed, 5 Jun 2002 03:38:13 -0700 References: <ef8e3b9.-1@WebX.aaQKaf7vad4> <ef8e3b9.12@WebX.aaQKaf7vad4> Lines: 56 User-Agent: Microsoft-Outlook-Express-Macintosh-Edition/5.0.3 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit