🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #19982

Re: Page Size and Orientation NOT working

#19982
From: peter long
Date: Sat, 09 Nov 2002 20:21
31 lines
1442 bytes
bill 

My mind seizes trying to read applescript. It comes up full stop trying to read basic! I'd get around to some scripting so will post two pieces from applescript. Perhaps you're more bilingual than me. 



 
set myDocument to make document 
	tell myDocument 

		tell spread 1 to make text frame with properties {geometric bounds:{".25i", ".25i", "10.5i", "8i"}} 



 

and 



 
set origPageWidth to page width of document preferences 
		set properties of document preferences to {page width:origPageWidth * 2, page orientation:landscape} 



 

don't know if that helps 

peter
Technical Details
Message-ID: <1de67ce8.0@WebX.la2eafNXanI>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-06!sn-xit-04!supernews.com!newshosting.com!news-xfer1.atl.newshosting.com!newsfeed.news2me.com!newsfeed.icl.net!newsfeed.fjserv.net!opentransit.net!fr.clara.net!heighliner.fr.clara.net!newsfeed01.sul.t-online.de!t-online.de!WebX
References: <1de67ce8.-1@WebX.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f939a,e817c558ea6d46ce
X-Google-Attributes: gidf939a,public
X-Google-ArrivalTime: 2002-11-09 12:42:05 PST
From: "peter long" <kl@yt.sympatico.ca>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-06!sn-xit-04!supernews.com!newshosting.com!news-xfer1.atl.newshosting.com!newsfeed.news2me.com!newsfeed.icl.net!newsfeed.fjserv.net!opentransit.net!fr.clara.net!heighliner.fr.clara.net!newsfeed01.sul.t-online.de!t-online.de!WebX
Newsgroups: adobe.scripting.indesign
Subject: Re: Page Size and Orientation NOT working
Message-ID: <1de67ce8.0@WebX.la2eafNXanI>
Date: Sat, 9 Nov 2002 12:21:41 -0800
References: <1de67ce8.-1@WebX.la2eafNXanI>
Lines: 27
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit