Scripting by the Bay, Redux -- For those who need to acquire or hone AppleScript skills, Shane Stanley and Ray Robertson will once again be leading their wonderfully intensive AppleScript Pro sessions, 02-May-05 through 06-May-05, in beautiful Monterey, California. I'm slated once again to teach my famous "forced march through AppleScript Studio" class. One source of real excitement is the question of whether Tiger will have shipped in time; if it does, we'll be able to talk about the new features, such as BLEEEP and BOOOP (sorry, censored by the NDA police). [MAN]
Find Text Leading from Acrobat PDF
Ever have to recreate a document from an Acrobat PDF? You can find out most everything about the text by using the Object Inspector, except the leading. Well, here's a cheesy way to figure it out. Open the PDF in Illustrator (you just need one page). Release any and all clipping masks. Draw a guide at the baseline of the first line of text, and one on the line below. Now, Option-drag the first line to make a copy, and position it exactly next to the original first line at baseline. Then put a return anywhere in the copied line. Now adjust leading of the copied lines, so that the second line of copy rests on the baseline of the second line of the original. Now you know your leading.
Or you could buy expensive software to find the leading. Your choice.
Published in TidBITS 775.
Subscribe to our weekly email edition.
Scripting by the Bay, Redux
Set up short abbreviations which expand to larger bits of text,
such as “Tx” for “TextExpander”. With the new custom keyboard,
you can expand abbreviations in any app, including Safari and