Article View: adobe.scripting.indesign
Article #9883Apply object style (AppleScript)
From: Oz_Springs
Date: Sat, 15 Jul 2006 14:08
Date: Sat, 15 Jul 2006 14:08
15 lines
1379 bytes
1379 bytes
I have 134 text boxes which I need to re-position on their respective pages and set the text frame vertical alignment to top (currently it is centred). The repositioning part works OK: Tell application �Adobe InDesign CS2� set geometric bounds of selection of document 1 to [w,x,y,z] end tell but I cannot get the command �apply object style� to work. I have created an object style simply in order to set the text alignment to top as I could not find anything in INDD�s AS dictionary referring to it. Have tried every variation I can think of for example �apply object style �Address Frame� to... � . AppleScript objects to the �to� in this instance and gives other reasons for rejecting my other vain attempts to get this working. Can anyone help with this? Thx
Technical Details
Message-ID:
<3bc0ec5f.-1@webcrossing.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news2.volia.net!news.musoftware.de!news.albasani.net!news.ecp.fr!news.stben.net!webcrossingShow Full Headers
Complete Article Headers
X-Google-Thread: f939a,9c143e33311dcbf5,start X-Google-Attributes: gidf939a,public X-Google-Language: ENGLISH,ASCII From: Oz_Springs@adobeforums.com Newsgroups: adobe.scripting.indesign Subject: Apply object style (AppleScript) Message-ID: <3bc0ec5f.-1@webcrossing.la2eafNXanI> Date: Sat, 15 Jul 2006 07:08:00 -0700 Lines: 22 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!news.musoftware.de!news.albasani.net!news.ecp.fr!news.stben.net!webcrossing