Article View: adobe.scripting.indesign
Article #9887Re: Apply object style (AppleScript)
From: herrmueller
Date: Sat, 15 Jul 2006 17:30
Date: Sat, 15 Jul 2006 17:30
13 lines
1112 bytes
1112 bytes
In javascript, I would target the selection and apply the objectStyle to it. The script above will only work on the first text frame in the document. You could access the first frame on each page if youd like. I am a javascripter so this may not work: tell application �Adobe InDesign CS2� tell active document set myObjectStyle to object style "Quick facts style" apply object style to selection of document 1using myObjectStyle with clearing overrides end tell end tell
Technical Details
Message-ID:
<3bc0ec5f.2@webcrossing.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news.germany.com!news.ispa.de!news.ecp.fr!news.stben.net!webcrossingReferences:
<3bc0ec5f.-1@webcrossing.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,9c143e33311dcbf5 X-Google-Attributes: gidf939a,public X-Google-Language: ENGLISH,ASCII From: herrmueller <jmiller@halodesignstudios.com> Newsgroups: adobe.scripting.indesign Subject: Re: Apply object style (AppleScript) Message-ID: <3bc0ec5f.2@webcrossing.la2eafNXanI> Date: Sat, 15 Jul 2006 10:30:12 -0700 References: <3bc0ec5f.-1@webcrossing.la2eafNXanI> Lines: 16 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news.germany.com!news.ispa.de!news.ecp.fr!news.stben.net!webcrossing