Quantcast
Channel: iOS, Mac, tvOS, watchOS Programming
Viewing all articles
Browse latest Browse all 50

Applescript: exporting numbers file to PDF

$
0
0
I have the following code to print a pages file:

Code:
tell application "Pages"
             set Doc to open PathFileDoel as alias
             set DocPDF to PathFileDoelPDF
             export Doc to file DocPDF as PDF
             close Doc
end tell


Is there a similar command to export a numbers file to PDF (I suppose so) and can I choose the sheets to export?
The numbers file contains 5 sheets, and I only want to export 3 of them.

Viewing all articles
Browse latest Browse all 50

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>