Article View: adobe.scripting.indesign
Article #20876Applescript: make a text frame on a master page
From: Olivier Berquin
Date: Mon, 03 Jun 2002 13:15
Date: Mon, 03 Jun 2002 13:15
36 lines
1514 bytes
1514 bytes
Hi fellow scripters,
I can create a text frame on a master spread, but how I can use it, how I can �address� it ?
This is my little script:
--
tell application "InDesign 2.0"
�tell document 1
��tell master spread 1
���set myTextFrame to make text frame
���set label of myTextFrame to "Main_Text"
���set geometric bounds of myTextFrame to {"10 mm", "10 mm", "50 mm", "59 mm"}
��end tell
��
��tell spread 1
���tell text frame 1
����set MyTextProp1 to properties of it
���end tell
��end tell
�end tell
end tell
--
The result is : Enable to obtain properties of text frame 1 of spread 1 of document 1.
Any idea ?
Must I create, on each page, a new text frame ?
TIA
Olivier.
Technical Details
Message-ID:
<ef8e3b9.-1@WebX.aaQKaf7vad4>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!supernews.com!iad-peer.news.verio.net!news.verio.net!news.maxwell.syr.edu!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebXShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII X-Google-Thread: f939a,8e47b5875d947fcb,start X-Google-Attributes: gidf939a,public X-Google-ArrivalTime: 2002-06-03 06:37:40 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!iad-peer.news.verio.net!news.verio.net!news.maxwell.syr.edu!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebX Newsgroups: adobe.scripting.indesign Subject: Applescript: make a text frame on a master page Message-ID: <ef8e3b9.-1@WebX.aaQKaf7vad4> Date: Mon, 3 Jun 2002 06:15:57 -0700 Lines: 35 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit