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

Script for InDesign to Sort Pages Alphabetically

Community Beginner ,
Aug 17, 2023 Aug 17, 2023

Copy link to clipboard

Copied

Hello all,

 

I'm trying to sort 100+ nametags on InDesign alphabetically by last name. Is this possible to do? I know nothing about scripts so I am curious on how I can go about this in an easy manner. Thanks!

TOPICS
How to , Scripting

Views

223

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 ,
Aug 17, 2023 Aug 17, 2023

Copy link to clipboard

Copied

Your title says "sort pages" but your question appears to be about "sorting paragraphs". I'm guessing you must have one name per page? 

 

If this is a data merge activty and each name is on its own page, one option is to sort in Excel and then re-merge. If typed in manually, InDesign does come with a script for sorting by paragraphs: Window > Utilities > Scripts.

 

2023-08-17_09-01-37.png

If this one doesn't work, we have very talented scripters who will likely be able to give you a hand. In the meantime, please share more infomation about how your file is set up. Screen shots with Hidden Characters visible is very helpful.

 

~Barb

 

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 ,
Aug 17, 2023 Aug 17, 2023

Copy link to clipboard

Copied

I have 100+ seperate nametags, each on their own page. The pages themselves need to be sorted alphabetically by last name. So it's about sorting pages, I would assume?

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 ,
Aug 17, 2023 Aug 17, 2023

Copy link to clipboard

Copied

Why? 

 

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 ,
Aug 17, 2023 Aug 17, 2023

Copy link to clipboard

Copied

What do you mean by 'nametags on pages'? Can you show an example, a screenshot?

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 ,
Aug 18, 2023 Aug 18, 2023

Copy link to clipboard

Copied

LATEST

Hi @smnthaboyd, there are many ways to do what you want, but they depend critically on your specific set-up. That's why we all are hoping you can post a demo file with just a few pages. Then we can really help.

- Mark

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