Use AppleScript to automate tasks in iWork for Mac

Use AppleScript to automate common tasks in the iWork for Mac apps to improve productivity and reduce mistakes.

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:

  1. Open the AppleScript Editor in Applications > Utilities.
  2. Choose File > Open Dictionary. 
  3. 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.

Additional information

More information about using AppleScript in the iWork for Mac apps is available on third-party websites such as Mac OS X Automation and iWork Automation.

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. 

Information about products not manufactured by Apple, or independent websites not controlled or tested by Apple, is provided without recommendation or endorsement. Apple assumes no responsibility with regard to the selection, performance, or use of third-party websites or products. Apple makes no representations regarding third-party website accuracy or reliability. Risks are inherent in the use of the Internet. Contact the vendor for additional information. Other company and product names may be trademarks of their respective owners.

Published Date: