I have been tasked with converting lots of .numbers files to .pdf. Having exported manually did not satisfy me, obviously, so I dug around online and found an automator script (below). It obviously is easier and quicker than manual export, but I would love to just select a folder and let the script do the rest for each and every .numbers file in the folder. Tried to tweak the script a bit acc to what I found online, but was not able to fuse it together, can anybody advise, please?
tell application "Finder"
set theFilesFolder to (folder of theFile) as text
end tell
tell application "Numbers"
set theDoc to open theFile
set theDocName to name of theDoc
--I'm assuming that the file name always ends with ".numbers"
set theName to (characters 1 thru -7 of theDocName) as text
export theDoc as PDF to file ((theFilesFolder & theName & ".pdf") as text)
close theDoc
end tell
