🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #15608

Re: Script a new document without facing pages

#15608
From: Eelko_Heuvelmans
Date: Tue, 25 Nov 2003 08:44
18 lines
1299 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: <2cce945b.0@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: <6F5715EA-1F0D-11D8-A8D7-003065D61B90@myriad-com.com.au>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f939a,1d25d57b742d7e92
X-Google-Attributes: gidf939a,public
X-Google-ArrivalTime: 2003-11-25 01:07: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: Script a new document without facing pages
Message-ID: <2cce945b.0@webx.la2eafNXanI>
Date: Tue, 25 Nov 2003 00:44:30 -0800
References: <6F5715EA-1F0D-11D8-A8D7-003065D61B90@myriad-com.com.au>
Lines: 22
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit