🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #9030

Re: Setting Application Prefs with AppleScript

#9030
From: Paul_Schulz
Date: Wed, 13 Sep 2006 14:20
25 lines
1764 bytes
I very much appreciate your response to my question.

I tried the code as is, but received the following error:
Syntax Error:
A identifier can't go after this identifier
(object styles is highlighted in the original code).

After receiving the error, I modified the original code as below:
� I changed �Adobe InDesign CS2� to �InDesign CS� because I am using CS.
� I removed �of object styles� because CS does not support object styles.

After running the following modified code:
tell application "InDesign CS"
	set properties of text wrap preferences to {text wrap type:bounding box text wrap, text wrap offset:{"6 pt", "6 pt", "6 pt", "6 pt"}, inverse:false}
end tell

I received the following error:
AppleScript Error
InDesign CS got an error: Can't set properties of text wrap preferences to {text wrap type:bounding box text wrap, text wrap offset:{"6 pt". "6 pt". "6 pt". "6 pt"}, inverse:false}.

Is there a simple syntax problem I am overlooking?

Again, thanks for your help.

Paul
Technical Details
Message-ID: <3bc1960e.1@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news3.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nwr.nac.net!colt.net!feeder.news-service.com!news.germany.com!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
From: Paul_Schulz@adobeforums.com
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news3.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nwr.nac.net!colt.net!feeder.news-service.com!news.germany.com!news.isoc.lu!webcrossing
Newsgroups: adobe.scripting.indesign
Subject: Re: Setting Application Prefs with AppleScript
Message-ID: <3bc1960e.1@webcrossing.la2eafNXanI>
Date: Wed, 13 Sep 2006 07:20:30 -0700
References: <3bc1960e.-1@webcrossing.la2eafNXanI>
Lines: 31
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit