Article View: adobe.scripting.indesign
Article #20752Re: Applescript: make a text frame on a master page
From: Olivier Berquin
Date: Wed, 05 Jun 2002 10:15
Date: Wed, 05 Jun 2002 10:15
34 lines
1621 bytes
1621 bytes
Shane,
Thank you for this explanation !
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 !
Olivier.
Technical Details
Message-ID:
<ef8e3b9.12@WebX.aaQKaf7vad4>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!supernews.com!newsfeed.online.be!diablo.netcom.net.uk!netcom.net.uk!fr.clara.net!heighliner.fr.clara.net!newsfeed01.sul.t-online.de!t-online.de!WebXReferences:
<ef8e3b9.-1@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 03:37:39 PST From: "Olivier Berquin" <ob@microscript.be> Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!supernews.com!newsfeed.online.be!diablo.netcom.net.uk!netcom.net.uk!fr.clara.net!heighliner.fr.clara.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: <ef8e3b9.12@WebX.aaQKaf7vad4> Date: Wed, 5 Jun 2002 03:15:07 -0700 References: <ef8e3b9.-1@WebX.aaQKaf7vad4> Lines: 38 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit