Feb 07
I write books about Photoshop and web stuff. Since 2004, I’ve been using Pages to do all the work, and I never regretted leaving Word behind forever. After recently updating to Pages 3 (in iWork ‘08), and revising a book for its third edition, I noticed that all titles I have created in Pages 1 and 2 using per-word underlines were converted to full underlined paragraphs. As an example, here’s a before-and-after view of a sample title:
Thisisatitle … This is a title
So, I was forced to build the following AppleScript code to solve this mess:
tell application "Pages"
tell front document
repeat with one_paragraph in paragraphs
if paragraph style of one_paragraph i...

More: continued here