Problems with batch convert Pages to pdf script
Hi! I have like 200 hundred pages files that need to be converted into PDFs, and when I saw @VikingOSX's Script to batch convert .pages to PDF I thought IO was saved... but not yet.
I have not much experience with AppleScript, but the instructions were quite clear, I copied the code (the newest sanitised version from 2021 (found here: https://discussions.apple.com/thread/252573313), created the applescript and the drag and drop app.
When I dropped a pages it asked for permission (although only once), then I got a message saying "Export complete. Files exported to PDF: 0"
This has been tried in a M1 Mac Studio with the latest Sonoma version and in an Intel's Mac Book Pro with Ventura, to see if it was something to do with Sonoma. But I've got the same results.
Is there any hint I've been missing or a probable solution, please?
Thanks for such a dedicated work on Support!