Page 1 of 1

Macros for Tool Drawer

Posted: 2005-12-04 10:30:02
by hatchmo
Using AppleScript or Menu Macros, how do I access settings in the Tool Drawer?

In the AppleScript dictionary, there is no Attribute for paragraph spacing.

This Menu Macro returns an error:

Code: Select all

Tools:
What I’m trying to automate is setting Paragraph Spacing After to 2, as in:

Code: Select all

Tools:Paragraph:Spacing:After:2

Posted: 2005-12-04 13:18:03
by cchapin
I suppose I should check what might be newly possible in 2.5 before I write, but I don't think you can work with the tool drawer via macros or AppleScript yet. (I hope that some day we can—along with the status bar tags and the Find feature.)

Would it help to create a style? You could then access the style through the Format > Style menu.

--Craig

Macros for Tool Drawer

Posted: 2005-12-04 23:31:18
by hatchmo
That's something I hadn't thought of. It works. Thanks!