🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #19544

Re: auto Textframe? possible? I need it for the catalogproduction in FileMaker2ID

#19544
From: Armin.Egginger
Date: Thu, 05 Dec 2002 09:50
23 lines
2340 bytes
Hi Roberto,

thanks for your tipp - i try this way, but i have a problem with the textframe position - is ID thinking another way as me? example: I tell every page of the document directly and make a textframe with size 20,20,20,20. This functions only on the left side of the pages (2,4,6,8...) but on the pages (3,5,7,9..) the textframe was placed in the page before example: tell page 3 to make an textframe with size 20,20,20,20 - this places the textframe also in page 2! If I add the pagewidth to the size, it functions. But I tell the page directly - normaly it is not necessary to add something to place the textframe!?

--myapplescript
set theViewPreferences to view preferences
tell theViewPreferences
set horizontal measurement units to millimeters
set vertical measurement units to millimeters
end tell
set myMarginPreferences to margin preferences
repeat with i from 1 to 6 -- thepages"6" comes from filemaker
tell page i
set myTextFrame to make text frame with properties {geometric bounds:{margin top of myMarginPreferences, margin left of myMarginPreferences, 210 - (margin bottom of myMarginPreferences), 148 - (margin right of myMarginPreferences)}}
end tell
end repeat

Is anybody there who can give me some tipps or places, where I can read something about ID-AppleScripting? The IDApplescripting.PDF from Adobe i have, but is there more on the internet, because I don't want to post everything in the forum and steal your time.

Many, many thanks

Armin
the ID-scripting-beginner
Technical Details
Message-ID: <1de6d090.2@WebX.la2eafNXanI>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-01!sn-xit-04!supernews.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebX
References: <1de6d090.-1@WebX.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f939a,aeaa009d3a67ca9d
X-Google-Attributes: gidf939a,public
X-Google-ArrivalTime: 2002-12-05 02:07:34 PST
From: Armin.Egginger <armin.egginger@gmx.de>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-01!sn-xit-04!supernews.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebX
Newsgroups: adobe.scripting.indesign
Subject: Re: auto Textframe? possible? I need it for the catalogproduction in FileMaker2ID
Message-ID: <1de6d090.2@WebX.la2eafNXanI>
Date: Thu, 5 Dec 2002 01:50:24 -0800
References: <1de6d090.-1@WebX.la2eafNXanI>
Lines: 37
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit