Article View: adobe.scripting.indesign
Article #9102Re: (VBA) how to zoom with idFitWindow
From: Dirk_Becker
Date: Sat, 16 Sep 2006 08:48
Date: Sat, 16 Sep 2006 08:48
18 lines
1315 bytes
1315 bytes
Your "myindesign" is the application. Application has no WindowState property, windowstate is unknown at all. There is a difference between - GoToZoomOptions, used by Behaviors of interactive elements - ZoomOptions, used by the LayoutWindow.zoom(zo) I don't know VBA therefor I can't help you with the exact mangling of the enum names. Here are the values (JavaScript encoded): ZoomOptions.zoomIn = 2053990766; // 'zmin' ZoomOptions.zoomOut = 2054124916; // 'zout' ZoomOptions.fitSpread = 2053534835; // 'zfts' ZoomOptions.fitPage = 2053534832; // 'zftp' ZoomOptions.showPasteboard = 2054385762; // 'zspb' ZoomOptions.actualSize = 2053206906; // 'zasz' Hth, Dirk
Technical Details
Message-ID:
<3bc1a59e.0@webcrossing.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news3.google.com!news.glorb.com!solnet.ch!solnet.ch!news.germany.com!news.isoc.lu!webcrossingReferences:
<3bc1a59e.-1@webcrossing.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,5c0ba175b495c0a4 X-Google-Attributes: gidf939a,public X-Google-Language: ENGLISH,ASCII-7-bit From: Dirk_Becker@adobeforums.com Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news3.google.com!news.glorb.com!solnet.ch!solnet.ch!news.germany.com!news.isoc.lu!webcrossing Newsgroups: adobe.scripting.indesign Subject: Re: (VBA) how to zoom with idFitWindow Message-ID: <3bc1a59e.0@webcrossing.la2eafNXanI> Date: Sat, 16 Sep 2006 01:48:15 -0700 References: <3bc1a59e.-1@webcrossing.la2eafNXanI> Lines: 19 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit