🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #8520

Re: VB - Ind CS2 - Windows XP - VerticalJustification Error

#8520
From: Robert Tkaczyk
Date: Fri, 06 Oct 2006 18:21
15 lines
1497 bytes
> The last line of this code generates an error.
> 
> "myTextFrame.TextFramePreferences.VerticalJustification = idVerticalJustification.idCenterAlign"
> 
> Error: Object required idVerticalJustification
> Code: 800A01A8

you can't use idVerticalJustification.idCenterAlign in VBScript
you need to use decimal value - 1667591796
"idVerticalJustification.idCenterAlign" - you can use it only in VB6 IDE

robin

-- 
www.adobescripts.com
Technical Details
Message-ID: <617A78B667512BE9CA098C29776782B4@in.webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!wns14feed!worldnet.att.net!63.218.45.11!nx02.iad01.newshosting.com!newshosting.com!198.186.190.250.MISMATCH!transit3.readnews.com!news-out.readnews.com!newspeer1.nwr.nac.net!newsfeed.freenet.de!newsfeed.x-privat.org!spool.x-privat.org!webcrossing
References: <3bc1e50b.-1@webcrossing.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,c7e6c6910f7367df
X-Google-Attributes: gidf939a,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: Robert Tkaczyk <indesignscripts@wp.pl>
Newsgroups: adobe.scripting.indesign
Subject: Re: VB - Ind CS2 - Windows XP - VerticalJustification Error
Message-ID: <617A78B667512BE9CA098C29776782B4@in.webcrossing.la2eafNXanI>
Date: Fri, 6 Oct 2006 11:21:56 -0700
References: <3bc1e50b.-1@webcrossing.la2eafNXanI>
Lines: 17
User-Agent: Thunderbird 1.5.0.7 (Windows/20060909)
X-Antivirus: avast! (VPS 0640-4, 2006-10-06), Outbound message
X-Antivirus-Status: Clean
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!wns14feed!worldnet.att.net!63.218.45.11!nx02.iad01.newshosting.com!newshosting.com!198.186.190.250.MISMATCH!transit3.readnews.com!news-out.readnews.com!newspeer1.nwr.nac.net!newsfeed.freenet.de!newsfeed.x-privat.org!spool.x-privat.org!webcrossing