Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
By David Blatner
20 Free Scripts
Every InDesign user should consider using these scripts to
enhance workflow efficiency.
INDESIGN MAGAZINE 49 August | September 2012 contents previous next full screen 35
InDepth: Scripts
INDESIGN MAGAZINE 49 August | September 2012 contents previous next full screen 36
InDepth: Scripts
and excellent tutorials to help you through to create to control the script. The text
the process. Note that I also wrote about file tells the script what it should find and
CalendarWizard in Issue 21 of this magazine what to replace it with. Its not rocket sci-
(December 2007). ence; but it does take some time and effort
to figure out (see my lynda.com movie for
FindChangeByList details). You can save a lot of time if you
Do you run the same find/change queries use some additional scripts, mentioned
Figure 2: The History scripts let you undo or redo as many
repeatedly? Do you have ten different find/ in this blog post: Find-Change Scripting steps as you want, using a convenient popup menu.
change queries that you have to run one Goodness. But honestly, you can save even You can set a keyboard shortcut to these scripts (or any
other script) for easy access by choosing Edit > Keyboard
after the other? You need FindChangeByList, more time if you use an inexpensive third- Shortcuts and choosing Scripts from the Product Area
and the good news is that you already party product called Multi-Find/Change. popup menu.
INDESIGN MAGAZINE 49 August | September 2012 contents previous next full screen 37
InDepth: Scripts
INDESIGN MAGAZINE 49 August | September 2012 contents previous next full screen 38
InDepth: Scripts
developers site lay it out for you. This tool example, have you ever tried to
may sound complex, but its actually very combine two tables together? Its
easy and has the potential to supercharge almost impossible unless you
your workflow! have a script like Merge Tables.
Just select two tables with the
MakeGrid Type tool, then run the script. It
This is one of my favorite scripts, and not lets you combine them vertically
just because I was partially responsible for (one on top of the other, adding
it being written. A client of mine needed more rows) or horizontally (side
a way to split a single frame into a grid of by side, adding more columns).
smaller frames (they were using it to create
real estate and car ads). I asked Olav Martin Multi-page Importer
Kvern (who was working at Adobe at the Its easy to place two or more
time) and he fixed this up in a jiffy. It was so pages of a PDF into an InDesign
useful that Adobe decided to add it to the document with the Import
Samples folder, which is where youll find it Options dialog box, but you
today (Figure 4). have to click at least once for
each page youre importing.
Merge Tables Wouldnt it be cool if you could
InDesign has a lot of features for work- just import two or more pages
Figure 4: The MakeGrid script breaks any empty or graphic frame into a
ing with tables, but its lacking some fea- automatically? InDesign ships bunch of pieces (left). For text frames or open paths, it makes duplicates
tures that youd think were no-brainers. For with a free script (in the Samples in a grid (right)!
INDESIGN MAGAZINE 49 August | September 2012 contents previous next full screen 39
InDepth: Scripts
INDESIGN MAGAZINE 49 August | September 2012 contents previous next full screen 40
InDepth: Scripts
how large you want the text to be (based on StyLighter the Preview Mode checkbox, then all local
the size of a specific letter). For example, you Its almost impossible to tell where styles character formatting gets a red line through
could say make the uppercase A be exactly are applied in InDesign unless you click it; local paragraph formatting gets a line
30 mm tall. on every bit of text manually, or the style along its left side. These lines dont print;
is easily identifiable by eye. Worse, theres theyre on-screen-only. Even better, the
Size Labels almost no way to tell where someone has StyLighter dialog box lets you assign a dif-
Need to know exactly how large every applied local formatting (text that has para- ferent color for each paragraph or character
frame is in your document because youre graph or character formatting on top of the style (Figure 6, next page). Again, its for
working with very strict guidelines? Dont style definition). Both these problems are screen viewing only, and you can make it
click on each frame one by one; just run handled by the amazing StyLighter script. all go away by running the script again and
the SizeLabels script and every object When you run it and enable the Activate turning off that checkbox.
is suddenly adorned with a little label
showing its dimensions. You can edit the
script (sounds scary, but its really easy!) to Save First!
change the measurement system it uses Some coders write their scripts in a way that you can use Undo to easily revert back
from inches to something else, and you to the state of your document before you ran the script. However, many scripts dont
can add paragraph and object styles to do this (especially older scripts). The result is that if you try to undo after running
customize the labels. Best of all, the script one of those scripts, you may have to choose Undo about 50 times (once for every
places the labels on a special layer, so its action the script performs). Instead, save your document before running the script!
easy to hide or even delete them. While That way, if something goes terribly wrong (or you just dont like the result), you can
youre at the Rorohiko site, look around at choose File > Revert and youre back in action quickly.
the many other products they have!
INDESIGN MAGAZINE 49 August | September 2012 contents previous next full screen 41
InDepth: Scripts
Table Sort
Im actually going to mention two scripts
here. First, you have to know about
the SortParagraphs script that ships in
InDesigns Samples folder (in the Scripts
panel). Its terrific for sorting any kind of list,
whether numerically or alphabetically. But it Figure 6: When you turn on the preview mode in StyLighter, you
can see what styles are applied and if any local formatting has
only sorts paragraphs and cant sort data in been applied on top of those styles.
a table! Thats where Peter Kahrels TableSort
script comes in handy. It can sort tables in all with a quick couple of clicks. Remember to
the ways youd typically want (Figure 7). select the cells in the table that you want to
fill before running the script.
TomaxxiFillTable
You know how choosing Type > Fill with TomaxxiPlace2
Placeholder Text fills up any frame? One of the most confusing and annoying
Unfortunately, it doesnt work for tables. But aspects of object styles is that the Default
Marijan Tompas TomaxxiFillTable does the Graphic Frame Style is not applied to
job admirably, letting you fill with text, num- graphic framesits only applied to empty
bers, date/time stamps, and more. But the unassigned frames. This is particularly frus-
feature I like the most is its ability to insert trating when importing images that you
consecutive numbers. For example, you can want placed into a frame with a particular
Figure 7: TableSort is great for sorting a table
fill a column with numbers from 100 to 1000 object style. Thats where TomaxxiPlace2 alphabetically.
INDESIGN MAGAZINE 49 August | September 2012 contents previous next full screen 42
InDepth: Scripts
n
David Blatner is the Editorial Director of InDesign Magazine
and the co-creator of InDesignSecrets.com. Check out his
own software tool at BlatnerTools.com. Figure 8: Two layouts from the same document, created by the Wordalizer script.
INDESIGN MAGAZINE 49 August | September 2012 contents previous next full screen 43