Jump to content

Save current Keynote document as PDF

Recommended Posts

Here's a workflow that uses Applescript UI scripting to save the currently open Keynote document as a PDF.  It uses the print dialog rather than the Export... menu item to give more flexibility in the layout etc.  I've tried to comment the script so that the selections can be easily customized.


It stops once the Save... dialog is open, so you can change the filename before saving if desired.


This was an interesting project, which will save me lots of mouse clicks in the long term.  It's surprising how little Applescript seems to have been written for Keynote.



Updated 2021-01-05 for Big Sur and Keynote 10


Updated 2014-01-31 to fix Applescript UI click issue introduced with Mavericks ( http://macscripter.n...=170632#p170632 for details ).

Still only works with Keynote '09.


Updated 2014-04-02 to work with Keynote 6 (finally Apple has restored Applescript to the new iWork!)


There are now two keywords


kpdf - for use with Keynote 6.2


k5pdf - for use with Keynote 5 (i.e. iWork '09 version)

Edited by dfay
Link to comment
  • 11 months later...
  • 4 years later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...