🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #15610

Re: Applescript a new document without facing pages

#15610
From: Eelko_Heuvelmans
Date: Tue, 25 Nov 2003 08:44
18 lines
1278 bytes
What should i do here?
Well,.. i'll post a VB.NET Example then :)

In VB(.net) i did not find a function to set FacingPages to false or true. Therefore i had this other approche to turn the FacingPages on or off, here it comes...


Dim myDocument as Indesign.Document
Dim dp as Object

myDocument = Indesign.ActiveDoucment
dp = ActiveDocument.DocumentPreferences

dp.PagesPerSpread = 1 'When this is set to 1, FacingPages is false,.. when set to 2, FacingPages is true.
'The value of PagesPerSpread can (as far as i tested.. ;)) only be one or two.


Well,.. that's about it,..
Good luck to who ever might use it
Technical Details
Message-ID: <2cce944f.1@webx.la2eafNXanI>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!webx
References: <2cce944f.-1@webx.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f939a,98a591a27130b392
X-Google-Attributes: gidf939a,public
X-Google-ArrivalTime: 2003-11-25 04:37:38 PST
From: Eelko_Heuvelmans@adobeforums.com
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!webx
Newsgroups: adobe.scripting.indesign
Subject: Re: Applescript a new document without facing pages
Message-ID: <2cce944f.1@webx.la2eafNXanI>
Date: Tue, 25 Nov 2003 00:44:30 -0800
References: <2cce944f.-1@webx.la2eafNXanI>
Lines: 22
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit