Copy link to clipboard
Copied
Hi guys,
Please help me , for how to count text frames in entire groups in adobe indesign using applescript language.
Copy link to clipboard
Copied
tell application "Adobe InDesign CS6"
tell document 1
tell page 1
tell group 1
set framecount to count of text frames
end tell
end tell
end tell
end tell
Copy link to clipboard
Copied
Thank you for AS Scripter ,
Sir i need group of group inner group counting text frames.
you are specify only single group.
Copy link to clipboard
Copied
tell application "Adobe InDesign CS6"
tell document 1
tell page 1
tell group 1 -- this group is a grouping of two separate groups, one with 3 text frames and one with 2 text frames
set framecount1 to count of text frames of group 1
--return framecount1 --> 3
set framecount2 to count of text frames of group 2
--return framecount2 --> 2
end tell
end tell
end tell
end tell
Get ready! An upgraded Adobe Community experience is coming in January.
Learn more