🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #9027

Re: Setting Application Prefs with AppleScript

#9027
From: Shane_Stanley
Date: Tue, 12 Sep 2006 22:37
13 lines
1411 bytes
You need to change the text wrap preferences of the application's object
styles:

tell application "Adobe InDesign CS2"
    set properties of text wrap preferences of object styles to {text wrap
type:bounding box text wrap, text wrap offset:{"6 pt", "6 pt", "6 pt", "6
pt"}, inverse:false}
end tell

Note that, unlike in the UI, you can do this without closing all documents.

-- 
Shane Stanley <sstanley@myriad-com.com.au>
Technical Details
Message-ID: <C12D73B9.2FA37%sstanley@myriad-com.com.au>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nwr.nac.net!newsfeed.freenet.de!news.code-werk.net!news.taunusstein.net!news.buerger.net!open-news-network.org!news.isoc.lu!webcrossing
References: <3bc1960e.-1@webcrossing.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,282e824b47522681
X-Google-Attributes: gidf939a,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: Shane_Stanley@adobeforums.com
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nwr.nac.net!newsfeed.freenet.de!news.code-werk.net!news.taunusstein.net!news.buerger.net!open-news-network.org!news.isoc.lu!webcrossing
Newsgroups: adobe.scripting.indesign
Subject: Re: Setting Application Prefs with AppleScript
Message-ID: <C12D73B9.2FA37%sstanley@myriad-com.com.au>
Date: Tue, 12 Sep 2006 15:37:13 -0700
References: <3bc1960e.-1@webcrossing.la2eafNXanI>
Lines: 19
Return-Path: <sstanley@myriad-com.com.au>
User-Agent: Microsoft-Entourage/11.2.5.060620
Thread-Topic: Setting Application Prefs with AppleScript
Thread-Index: AcbWu/2vPEo1SEKvEduVKgARJHm3nA==
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit