Article View: adobe.scripting.indesign
Article #16825Vector graphic display toggle [AS]
From: Dave Balderstone
Date: Wed, 30 Jul 2003 21:30
Date: Wed, 30 Jul 2003 21:30
21 lines
1577 bytes
1577 bytes
Here's a little script to toggle your vector graphics display mode between "Proxy" (crappy but really fast) and "High Resolution" (beautiful but slo-o-o-w). Compile and add it to Indesign's Scripts folder. Double-clicking in the palette window will toggle the display mode. If this has been covered before, I apologize for the dupliication. Couldn't find anything on a search.
---------------
tell application "InDesign 2.0.2"
tell display setting preferences
set displayPref to properties
set thevector to vector of properties
if thevector is high resolution then
set properties to {vector:proxy}
else
set properties to {vector:high resolution}
end if
end tell
end tell
---------------
djb
Dave Balderstone
Director, Production and Creative Services
Western Producer Publications, Saskatoon, SK, Canada
Phone: 306-665-3545 Fax: 306-933-3536
Technical Details
Message-ID:
<1dea22b3.-1@WebX.la2eafNXanI>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-06!sn-xit-08!supernews.com!news-out.visi.com!petbe.visi.com!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebXShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f939a,197d36c7e4b4a957 X-Google-Attributes: gidf939a,public X-Google-ArrivalTime: 2003-07-30 14:40:02 PST From: "Dave Balderstone" <dave.balderstone@producer.com> Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-06!sn-xit-08!supernews.com!news-out.visi.com!petbe.visi.com!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebX Newsgroups: adobe.scripting.indesign Subject: Vector graphic display toggle [AS] Message-ID: <1dea22b3.-1@WebX.la2eafNXanI> Date: Wed, 30 Jul 2003 14:30:04 -0700 Lines: 26 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit