Article View: adobe.scripting.indesign
Article #20738Re: Applescript: make a text frame on a master page
From: Olivier Berquin
Date: Tue, 04 Jun 2002 13:02
Date: Tue, 04 Jun 2002 13:02
35 lines
1530 bytes
1530 bytes
Dave,
I become insane !!!
Nor your script, neither Shane's script works !
I copy-paste yours to mine:
--
tell application "InDesign 2.0"
�tell document 1
��tell master spread 1
���make text frame with properties {geometric bounds:{"10 mm", "10 mm", "40 mm", "40 mm"}, label:{"Main Box"}}
��end tell
��tell page 1
���try
����set myFrame to text frame whose label is "Main Box"
���on error
����set myFrame to master page item 1 whose label is "Main Box"
���end try
���tell myFrame
����set contents of it to "blablabla"
���end tell
��end tell
�end tell
end tell
--
Do I must address the 'page 1' , the 'spread 1' or ... ?
I miss something ???
TIA
Olivier.
Technical Details
Message-ID:
<ef8e3b9.5@WebX.aaQKaf7vad4>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!supernews.com!newsfeed.gamma.ru!Gamma.RU!newsfeed.media.kyoto-u.ac.jp!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-04 06:08:15 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.gamma.ru!Gamma.RU!newsfeed.media.kyoto-u.ac.jp!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.5@WebX.aaQKaf7vad4> Date: Tue, 4 Jun 2002 06:02:47 -0700 References: <ef8e3b9.-1@WebX.aaQKaf7vad4> Lines: 38 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit