1

How to convert many .pages documents to later open them with Word using Mac?

1

This is an AppleScript which will export all Pages documents in a folder into PDFs.

tell application "Finder"
    set fileslist to (every file of folder POSIX file ¬
        "/path/to/folder") as alias list
end tell
tell application "Pages"
    repeat with f in fileslist
        set doc to open f
        export doc ¬
            to (path to downloads folder as string) ¬
                & (name of doc) ¬
                & ".pdf" ¬
            as PDF
        close doc
    end repeat
end tell

Replace /path/to/folder with the path to the containing folder of just Pages documents.
This script exports to the Downloads folder. Alter as necessary.

  • Where do you run this script? – Andre Feb 15 '18 at 23:37
  • 1
    @Andre You can use Script Editor.app in the /Applications/Utilities/ folder – grg Feb 15 '18 at 23:39

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .