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

Find supersript snd subscript text and replace

Contributor ,
Jun 16, 2020 Jun 16, 2020

Hi Everyone,

I tried to find the superscript position text in InDesign document using 

app.findTextPreferences.findTextPosition = Position.superscript;

But it shows an error as object does not support the property or method 'findTextPosition'.

What i want to do now?????

-Jothi

 

TOPICS
Scripting
1.5K
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

Advocate , Jun 17, 2020 Jun 17, 2020

Hi Jothi,

There's no method like findTextPosition.

It is like this:

app.findTextPreferences.position = Position.SUPERSCRIPT;

 

Best

Sunil

Translate
Advocate ,
Jun 17, 2020 Jun 17, 2020

Hi Jothi,

There's no method like findTextPosition.

It is like this:

app.findTextPreferences.position = Position.SUPERSCRIPT;

 

Best

Sunil

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
Contributor ,
Jun 17, 2020 Jun 17, 2020

Hi Sunil_Yadav,

It's Working fine now... Thank you.

-Jothi

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
Advocate ,
Jun 17, 2020 Jun 17, 2020
LATEST

You can bookmark this link for all DOM for InDesign Javascript : https://www.indesignjs.de/extendscriptAPI/indesign-latest/#about.html

You'll find everything about InDesign JavaScript DOM.

 

Best

Sunil

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