Join David Blatner for an in-depth discussion in this video 234 Free script identifies word stacks, part of InDesign Secrets.
- [Voiceover] It's essential that you are human. Proofread your documents. Look them over. See if anything looks wrong. Now, I'm not talking about just spelling and grammar, but anything that might jump out and attract your reader, or your audience, in a bad way. For example, here's something that's tricky to catch. See how these two words, to and to, are lined up along the left margin? That's called a word stack, and they're notoriously time-consuming to find. Plus, after all, it takes a human eye to see them.
Or does it? Because at the 2015 PePcon conference in Philadelphia, InDesign automation expert Chris Copeters considered this thorny problem of word stacks, and he came up with a script. And not only did he write this script, but he released it to the community for free. Here's how it works. First, you have to install it. And you can do that by going to the scripts panel, which you'll find if you go to the window menu, come down to the utilities sub menu, and then choose scripts.
Inside the scripts panel, you'll see a couple folders. Application and user. Now, inside my user folder, I have another folder called David's Scripts that you won't see, but that's okay. I'm going to right click on the user folder, and then I'll choose reveal in finder. That switches to my finder. Now, if you're on windows, it'll say reveal in explorer, and it'll switch to Windows explorer. And then it automatically opens the scripts folder. And inside that folder, there's another folder called scripts panel.
I'll double click on that to open it, and you can see there's my David's Scripts folder. Now I've already downloaded the script here. It's called SmokeWordStacks, because Chris always loves using puns in his product names. Anyway, I'm gonna tell you where you can find and download it yourself in a minute, but I've downloaded it, and I've unzipped it, and I'm going to install this script. So to do that, all I need to do is drag this whole folder into the scripts panel folder. There it is. Now I'm going to switch back to InDesign, and you'll see the SmokeWordStacks folder inside the scripts panel.
Let's open that by clicking this little triangle. And we want to run this script by double clicking on the SmokeWordStacks.jsxbin file. That's the script inside the folder. I'll double click on it to run it, and I'm just going to use the default settings here, and click okay. Now, I should say here that the longer your document, the longer this is going to take. I would not run this on a document if it were 50 or 100 pages, it would just take forever. But for shorter documents it works great.
Now, when it's done, you can see that it identified a bunch of stacks way faster than it would've taken me to find them with my own eye. And the stacks are highlighted with a thick underline style. For example, up here, the word are is highlighted with that red line, because it's the second one, the last one, in the stack. Here's another one, in the middle of a paragraph, the word pictures is duplicated. It's a stack of the same word. Let's move this scripts panel out of the way here, and you can see that there's a blue highlight here.
That blue underline means it's a hyphenation stack. There are two or more hyphens in a row. Now, these red and blue lines are actually character styles that the script created and applied to the text. Now, if I wanted to, I could undo this whole thing with one click, just by pressing the old command, z or control, z on Windows. But in this case, let's say I've been working on my document, and I can't undo that step anymore. So if I wanna get rid of those highlights, all I need to do is go to my character styles panel over here, I'll open that, and I'm gonna scroll down, and I can see that the script added two character styles, text stack and hyphenation stack.
I can simply drag those on top of the trash can icon, and now, I can say replace it with none. But when you do this, make sure you turn off preserve formatting. You wanna make sure that check box is off. Then I'll click okay, and you can see that that highlight goes away. Let's go ahead and get rid of the text stack, too. Set that to none, turn off preserve formatting, and click okay. Now, this is already incredible, right? But Chris went even farther, and he lets you tweak a bunch of settings inside this script.
You can change that inside this .ini file, the SmokeWordStacks.ini file. Now, I wanna say you do not have to edit this file if you don't want to, but if you don't mind getting your hands a little dirty, you can do incredible things in here. Let me show you how. First, I'll switch back to the finder, or explorer, and I'm going to edit that ini file. I can do that simply by double clicking on it, and it should open up inside your default text editor. Here on the Mac, I'm using text wrangler.
Now, this looks kind of scary, but it's really well commented, so you can just read through this and learn how it works pretty quickly. Now in this case, I'm just gonna scroll down here a little bit, and I'm looking for numLettersToOver/Lap. Now right now, it's set to blank, but I'm gonna set it to one. And I'll show you what that does. So I'm going to save this by pressing command s or control s on Windows, and now I'm gonna go back to InDesign, and I'm gonna run the script one more time. Once again, I'll leave it set to the defaults, and click okay.
Now this takes a little bit longer, because it's looking for even one letter stacks, for example, here I have an M below another M. So it says that must be a stack. Now, that might be a little overkill, but I just wanted to show you that Chris has really given you a huge amount of power within this script, if you're willing to tweak that ini file a little bit. I should point out that Chris is the owner of rorohiko.com, and they have a lot of amazing scripts and plugins.
But even better, they specialize in custom publishing automation for large companies. So if you work for a company that needs to automate some kind of publishing task, you should definitely contact them. Anyway, this script is pretty cool, huh? And, as I said, it's free. If you wanna get it, you can find it at InDesign secrets by going to this url. Cpn.co, that's .co, not com, slash g, slash stacks.
Updated
12/23/2020Released
8/25/2011New techniques will be added to the collection every other week, so check back early and often. Find more tips and tricks at indesignsecrets.com.Note: Because this is an ongoing series, viewers will not receive a certificate of completion.
Skill Level Intermediate
Duration
Views
Q: Why can't I earn a Certificate of Completion for this course?
A: We publish a new tutorial or tutorials for this course on a regular basis. We are unable to offer a Certificate of Completion because it is an ever-evolving course that is not designed to be completed. Check back often for new movies.
Related Courses
-
InDesign CC 2018 Essential Training
with David Blatner6h 30m Beginner -
InDesign: Interactive PDFs
with David Blatner2h 27m Intermediate -
InDesign CC 2018: EPUB
with Anne-Marie Concepción4h 35m Intermediate -
InDesign CC 2019 Essential Training
with David Blatner5h 23m Beginner -
InDesign Quick Start
with David Blatner22m Beginner
-
This Week's Secret
-
Introduction
-
Welcome to InDesign Secrets1m 10s
-
-
December 2020
-
November 2020
-
October 2020
-
September 2020
-
Use one frame, not many4m 37s
-
August 2020
-
July 2020
-
June 2020
-
May 2020
-
Threading filled frames3m 14s
-
Custom page numbering tricks5m 13s
-
November 2012
-
October 2012
-
061 Embedding images7m 44s
-
-
September 2012
-
057 Text wrapping6m 54s
-
-
August 2012
-
July 2012
-
June 2012
-
May 2012
-
April 2012
-
March 2012
-
January 2012
-
April 2020
-
Making speech bubbles3m 32s
-
Working with ligatures5m 9s
-
February 2012
-
December 2011
-
016 Running a script9m 33s
-
November 2011
-
October 2011
-
August 2011
-
September 2011
-
March 2020
-
February 2020
-
Auto-expand acronyms4m 39s
-
-
January 2020
-
December 2019
-
November 2019
-
October 2019
-
409 Copy and paste effects4m 39s
-
-
September 2019
-
408 The master page trick1m 46s
-
August 2019
-
July 2019
-
June 2019
-
May 2019
-
April 2019
-
March 2019
-
February 2019
-
376 Make cast shadows3m 35s
-
-
January 2019
-
November 2018
-
December 2018
-
369 Shared CC Libraries tips5m 15s
-
October 2018
-
360 Find spacing problems4m 50s
-
363 Export all text8m 16s
-
-
August 2018
-
351 Change default fonts5m 51s
-
352 Best default RGB4m 45s
-
-
September 2018
-
July 2018
-
May 2018
-
343 Border spacing fix4m 59s
-
June 2018
-
346 Export to HTML55m 38s
-
April 2018
-
February 2018
-
March 2018
-
January 2018
-
325 Link text frames6m 10s
-
December 2017
-
November 2017
-
September 2017
-
October 2017
-
313 Quick Apply preferences6m 35s
-
August 2017
-
July 2017
-
May 2017
-
290 Work with scripts3m 35s
-
June 2017
-
April 2017
-
286 How to format ellipses5m 39s
-
March 2017
-
281 Share a CC library7m 10s
-
January 2017
-
February 2017
-
December 2016
-
271 Add images to an index4m 39s
-
November 2016
-
September 2016
-
October 2016
-
260 Batch process images7m 33s
-
263 Sync master pages5m 51s
-
-
August 2016
-
July 2016
-
June 2016
-
April 2016
-
May 2016
-
240 Side-by-side tables5m 35s
-
March 2016
-
February 2016
-
228 Setting text at an angle6m 24s
-
December 2015
-
January 2016
-
222 Adding paragraph shading1m 50s
-
October 2015
-
November 2015
-
September 2015
-
July 2015
-
August 2015
-
204 Creating a8m 14s
-
205 Managing scripts5m 38s
-
May 2015
-
189 Placing InDesign files5m 14s
-
-
June 2015
-
193 Printing tracked changes5m 41s
-
-
April 2015
-
186 Making long shadows5m 41s
-
February 2015
-
March 2015
-
January 2015
-
December 2014
-
November 2014
-
October 2014
-
September 2014
-
August 2014
-
July 2014
-
148 Cropping with paste into5m 18s
-
-
June 2014
-
May 2014
-
141 Inserting glyphs6m 42s
-
April 2014
-
March 2014
-
February 2014
-
January 2014
-
December 2013
-
November 2013
-
October 2013
-
September 2013
-
August 2013
-
105 Working with MiniBridge5m 45s
-
106 Customize your QR codes6m 17s
-
July 2013
-
June 2013
-
May 2013
-
April 2013
-
March 2013
-
February 2013
-
December 2012
-
069 Ten uses of the Story Editor11m 39s
-
-
January 2013
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.
CancelTake notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.
Share this video
Embed this video
Video: 234 Free script identifies word stacks