Article View: adobe.scripting.indesign
Article #9885Re: Apply object style (AppleScript)
From: Richard_Ronnback
Date: Sat, 15 Jul 2006 15:43
Date: Sat, 15 Jul 2006 15:43
11 lines
1091 bytes
1091 bytes
The syntax is not very intuitive, but I think this should work tell application "Adobe InDesign CS2" tell active document set myObjectStyle to object style "Quick facts style" set myTextFrames to text frame 1 apply object style myTextFrame using myObjectStyle with clearing overrides end tell end tell
Technical Details
Message-ID:
<C0DED9D9.20BDE%richard.ronnback@publishingkonsult.se>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news2.volia.net!syros.belnet.be!news.belnet.be!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-7-bit From: Richard_Ronnback@adobeforums.com Newsgroups: adobe.scripting.indesign Subject: Re: Apply object style (AppleScript) Message-ID: <C0DED9D9.20BDE%richard.ronnback@publishingkonsult.se> Date: Sat, 15 Jul 2006 08:43:53 -0700 References: <3bc0ec5f.-1@webcrossing.la2eafNXanI> Lines: 14 User-Agent: Microsoft-Entourage/11.2.5.060620 Thread-Topic: Apply object style (AppleScript) Thread-Index: AcaoJXlct9YlSBQYEdujfQAKleChcA== MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news2.volia.net!syros.belnet.be!news.belnet.be!news.stben.net!webcrossing