Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

How to count text frames in entire groups

Community Beginner ,
Feb 04, 2015 Feb 04, 2015

Hi guys,

        Please help me , for how to count text frames in  entire groups in adobe indesign using applescript language.

TOPICS
Scripting
723
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Feb 05, 2015 Feb 05, 2015

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Feb 05, 2015 Feb 05, 2015

Thank you for AS Scripter ,

                    Sir i need group of group inner group counting text frames.

you are specify only single group. 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Feb 06, 2015 Feb 06, 2015
LATEST

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


Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines