Highlighted

Find supersript snd subscript text and replace

Explorer ,
Jun 16, 2020

Copy link to clipboard

Copied

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

 

Adobe Community Professional
Correct answer by Sunil Yadav | Adobe Community Professional

Hi Jothi,

There's no method like findTextPosition.

It is like this:

app.findTextPreferences.position = Position.SUPERSCRIPT;

 

Best

Sunil

TOPICS
Scripting

Views

167

Likes

Translate

Translate

Report

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

Find supersript snd subscript text and replace

Explorer ,
Jun 16, 2020

Copy link to clipboard

Copied

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

 

Adobe Community Professional
Correct answer by Sunil Yadav | Adobe Community Professional

Hi Jothi,

There's no method like findTextPosition.

It is like this:

app.findTextPreferences.position = Position.SUPERSCRIPT;

 

Best

Sunil

TOPICS
Scripting

Views

168

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Jun 16, 2020 0
Adobe Community Professional ,
Jun 17, 2020

Copy link to clipboard

Copied

Hi Jothi,

There's no method like findTextPosition.

It is like this:

app.findTextPreferences.position = Position.SUPERSCRIPT;

 

Best

Sunil

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Jun 17, 2020 1
Explorer ,
Jun 17, 2020

Copy link to clipboard

Copied

Hi Sunil_Yadav,

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

-Jothi

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Jun 17, 2020 0
Adobe Community Professional ,
Jun 17, 2020

Copy link to clipboard

Copied

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

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Jun 17, 2020 0