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

How to get number string of a paragraph?

Community Beginner ,
Dec 02, 2018 Dec 02, 2018

Hi

In ExtendScript, how do I get a string representing heading numbers of a paragraph, such as "8.2.2" from "8.2.2 Clock properties" subsection?

Many thanks

TOPICS
Scripting
529
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

correct answers 1 Correct answer

Community Expert , Dec 02, 2018 Dec 02, 2018

If pgf is your paragraph object, you use pgf.PgfNumber

Translate
Community Expert ,
Dec 02, 2018 Dec 02, 2018

If pgf is your paragraph object, you use pgf.PgfNumber

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 ,
Dec 03, 2018 Dec 03, 2018

Ah, I got it. Thank you.

I've searching for a paragraph's atrribute telling its location/range in the document, but not found any.

Is there anything like that?

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
Adobe Employee ,
Dec 14, 2018 Dec 14, 2018

Hm. That sounds like something completely different from what you were asking for.

Maybe you want to post that as a separate thread? If the answer from frameexpert​ answered your initial question, it would be great if you could mark it as “Correct Answer” so that we  an close this thread 🙂

Thanks,

Stefan

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 ,
Dec 14, 2018 Dec 14, 2018
LATEST

I just did it. Thank you.

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