I am new to applescript pls help me.
I need to select the text of particular paragraph styles.
my indesign file have 5 paragraph styles and i want to select 3rd paragraph styles of text. if you knowing the script please tell me the script.
my code is shown in below
tell application "Adobe InDesign CC 2014"
tell active document
set d to name of paragraph styles
tell story 1
if "bch_tx" is in d then-------------->here "bch_tx" is paragraph style name
tell item 3 of d
anyone known please tell me the answer. because i am new applescript.
I hope this will help you ...
tell application "Adobe InDesign CS5" tell active document tell story 1 set nbParagraph to count of paragraphs repeat with i from 1 to nbParagraph set nameParStyle to name of applied paragraph style of paragraph i as string if nameParStyle = "bch_tx" then select paragraph i end if end repeat end tell end tell end tell
Thank you @Ronald