Article View: adobe.scripting.indesign
Article #9940Re: Finding a paragraph style in a text box
From: Kris_Mize
Date: Thu, 13 Jul 2006 13:42
Date: Thu, 13 Jul 2006 13:42
17 lines
1238 bytes
1238 bytes
Shane, I tried your example and unfortunately it gave me the same error message; InDesign CS got an error: Can't get paragraph style of paragraph 1 of story id 5705 of document "061506_ATL_INC_LRG_HALF.indd". I even gone and tried the following; tell myBox set myStyle to get paragraph style of paragraph 1 end tell This gives me the same error. I've been reading the book "AppleScripting InDesign" and it tells me to try; set theName to get style name of applied paragraph style Do I need to have the actual paragraph highlighted for this to work? I appreciate your help Shane.
Technical Details
Message-ID:
<3bc0e373.1@webcrossing.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news.germany.com!news.datemas.de!news.albasani.net!news.ecp.fr!news.stben.net!webcrossingReferences:
<3bc0e373.-1@webcrossing.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,edce4de98901b55 X-Google-Attributes: gidf939a,public X-Google-Language: ENGLISH,ASCII-7-bit From: Kris_Mize@adobeforums.com Newsgroups: adobe.scripting.indesign Subject: Re: Finding a paragraph style in a text box Message-ID: <3bc0e373.1@webcrossing.la2eafNXanI> Date: Thu, 13 Jul 2006 06:42:52 -0700 References: <3bc0e373.-1@webcrossing.la2eafNXanI> Lines: 21 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.datemas.de!news.albasani.net!news.ecp.fr!news.stben.net!webcrossing