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

Indesign Javascript - GREP - Direction

Explorer ,
Nov 23, 2020 Nov 23, 2020

Copy link to clipboard

Copied

Hi All

I am writing a GREP script to find and change some text and in the dialog box I have the option to set the direction that the find\change progresses.

roryt91880286_0-1606204088694.png

 

Does anyone know of a way that I can set the direction of the find\change in my js script?

I assume there is a setting that I can apply but I haven't been able to find the syntax for one.

 

Thanks in advance

TOPICS
Scripting

Views

378

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
community guidelines

correct answers 1 Correct answer

Community Expert , Nov 24, 2020 Nov 24, 2020

app.findChangeGrepOptions.searchBackwards = true/false

 

P.

Votes

Translate

Translate
Community Expert ,
Nov 24, 2020 Nov 24, 2020

Copy link to clipboard

Copied

app.findChangeGrepOptions.searchBackwards = true/false

 

P.

Votes

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
community guidelines
Explorer ,
Nov 24, 2020 Nov 24, 2020

Copy link to clipboard

Copied

LATEST

Thanks for the quick reply Peter!

I am actually referencing back to your Scripting InDesign cs3/4 with JavaScript quite a lot as I work on these scripts.

Votes

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
community guidelines