dfay Posted April 3, 2013 Posted April 3, 2013 (edited) 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 January 5, 2021 by dfay
dfay Posted September 21, 2016 Author Posted September 21, 2016 (Trivially but crucially) updated AppleScript for Keynote 7 at https://github.com/derickfay/keynote-to-pdf
dfay Posted January 5, 2021 Author Posted January 5, 2021 Updated for Big Sur / Keynote 10 at https://github.com/derickfay/keynote-to-pdf
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now