🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #1733

Re: Align to page

#1733
From: Kermy
Date: Wed, 28 Jan 2009 15:12
33 lines
1573 bytes
Well crap, somehow today my code is all screwed up. I guess I saved it in the wrong format and it changed(?). I have all of these funky brackets in my code now. Here's my screwed up code:

tell application "Adobe InDesign CS3"

	set myDocument to make document
	tell �class vwpp� of myDocument
		set �class hunt� to �class zpoi�
		set �class vunt� to �class zpoi�

		set �class RCtp� to �constant MRcdRCPo�
	end tell
	set myPage to �class page� 1 of myDocument
	set myString to "TEST" & return

	tell myPage
		set myTextFrame to make �class txtf� with properties {�class gbnd�:{0, 0, 15.738, 144}, contents:" " & myString}
		tell myTextFrame
			tell paragraph 1
				set font to "Georgia"
				set �class ptfs� to "Regular"
				set size to 5
				set �class szld� to 5
				set �class paln� to �constant Baltleft�

			end tell
		end tell

		tell �class strp� of myTextFrame
		end tell
	end tell
end tell

How should I be saving this? -
Technical Details
Message-ID: <59b7b3c0.2@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!newshub.sdsu.edu!webcrossing
References: <59b7b3c0.-1@webcrossing.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,fe5c0c23f23493
X-Google-Attributes: gidf939a,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII
From: Kermy@adobeforums.com
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!newshub.sdsu.edu!webcrossing
Newsgroups: adobe.scripting.indesign
Subject: Re: Align to page
Message-ID: <59b7b3c0.2@webcrossing.la2eafNXanI>
Date: Wed, 28 Jan 2009 07:12:21 -0800
References: <59b7b3c0.-1@webcrossing.la2eafNXanI>
Lines: 36
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit