Article View: adobe.scripting.indesign
Article #9458Re: AS--InDesign CS2--Text Frame
From: rajeevkumar
Date: Mon, 21 Aug 2006 10:17
Date: Mon, 21 Aug 2006 10:17
28 lines
1429 bytes
1429 bytes
Hi Stanley
Below is my script, I want a text frame in slug area, but it is not coming as per my requirement.
I want a text frame at bottom of the page, as you can see in the programe I am taking pahe height and page width to place that text frame. Text frame will contain only File Path & Name.
===============
set docslug to 50
tell application "Adobe InDesign CS2"
activate
set TheDoc to the front document
tell TheDoc
set TheName to get full name as string
tell document preferences of TheDoc
set PH to page height
set PW to page width
set document slug uniform size to true
set slug bottom offset to docslug
end tell
try
make text frame with properties {geometric bounds:{PH + 10, 10, 0, 20, PW}, contents:TheName}
end try
end tell
end tell
================
Thanks
Rajeev Kumar
Technical Details
Message-ID:
<3bc14e2f.11@webcrossing.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news.glorb.com!news.ecp.fr!news.stben.net!webcrossingReferences:
<3bc14e2f.-1@webcrossing.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,e6071bd39f8d3dfb X-Google-Attributes: gidf939a,public X-Google-Language: ENGLISH,ASCII-7-bit From: rajeevkumar@adobeforums.com Newsgroups: adobe.scripting.indesign Subject: Re: AS--InDesign CS2--Text Frame Message-ID: <3bc14e2f.11@webcrossing.la2eafNXanI> Date: Mon, 21 Aug 2006 03:17:20 -0700 References: <3bc14e2f.-1@webcrossing.la2eafNXanI> Lines: 32 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news.glorb.com!news.ecp.fr!news.stben.net!webcrossing