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

select all text in a document

Explorer ,
Dec 03, 2017 Dec 03, 2017

Copy link to clipboard

Copied

Hello everyone!

i want to select all text in document. Contains text  in tables,  footnote......

Appreciate for any support.

TOPICS
Scripting

Views

5.9K

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
Participant ,
Dec 03, 2017 Dec 03, 2017

Copy link to clipboard

Copied

Hi; Try this code Find:\X+

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
Advocate ,
Dec 04, 2017 Dec 04, 2017

Copy link to clipboard

Copied

Hi,

try this code,

app.select(SelectAll.ALL);

thanks & regards..

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
Community Expert ,
Dec 04, 2017 Dec 04, 2017

Copy link to clipboard

Copied

I tried it and what it did was select all items on the current visible spread. Does it really work better for you?

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
Community Expert ,
Dec 04, 2017 Dec 04, 2017

Copy link to clipboard

Copied

That is impossible in InDesign. InDesign does not allow non-contiguous text selection.

You can see that for yourself: create a text frame. Type some text in it. Then copy the text frame and paste it somewhere else on the same page. Now you can select text in one frame or in the other, but not both.

Fortunately, there may be a way out. You say that you want to select all text – right? But ... why? Just to see if you can? (Well, then we're finished. You can't.)

Now if you want to do something with a script to all text, you don't need to select it first. Scripts don't (need to) work that way.

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 ,
Dec 04, 2017 Dec 04, 2017

Copy link to clipboard

Copied

HI Jongware, I want convert the document to outlines.

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
Community Expert ,
Dec 05, 2017 Dec 05, 2017

Copy link to clipboard

Copied

With a script, and on your original document? There is no advantage at all to convert an entire InDesign document to outlines. There are only disadvantages. Lots and lots of them.

If you do this for a print provider, read this:

https://indesignsecrets.com/converting-text-to-outlines-the-right-way.php

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
Community Beginner ,
May 31, 2018 May 31, 2018

Copy link to clipboard

Copied

I landed here from searching for solutions to override all styles {(the lil +) instead of selecting each paragraph and doing one by one.

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
Advocate ,
Jun 04, 2018 Jun 04, 2018

Copy link to clipboard

Copied

LATEST

Have you tried this: OverrideType.ALL

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