AppleScript support in the iWork for Mac apps is improved in Numbers 3.1 and later, Pages 5.2 and later, and Keynote 6.2 and later.
The AppleScript dictionary contains the available AppleScript commands for Pages, Numbers, and Keynote. To view the dictionary:
- Open the AppleScript Editor in Applications > Utilities.
- Choose File > Open Dictionary.
- Select Pages, Numbers, or Keynote. Click Choose. If you have an earlier version of the app installed, make sure to select the correct version in the list.
To learn how to do a Mail Merge using AppleScript in Pages 5.5 and later or Numbers 3.5 and later, visit the Mail Merge section of the iWork Automation site.