.numbers to .csv
Using Catalina on MacPro, simple conversion of a valid .numbers file to .csv
simple code ( I tried commented out lines with same error message):
tell application "Numbers"
activate
--open "/Users/joem/Desktop/playExcelNumbers.numbers"
--export "/Users/joem/Desktop/playExcelNumbers.numbers" ¬
--to file "/Users/joem/Destop/playExcelNumbers.csv" as CSV
save "/Users/joem/Desktop/playExcelNumbers.numbers" as ¬
"LSDocumentTypeCSV" in "/Users/joem/Destop/playExcelNumbers"
end tell
Error (same one if uncomment the export line and comment out the save line):
Numbers got an error: Can’t make "/Users/joem/Desktop/playExcelNumbers.numbers" into type specifier.
Anybody spot the issue? Thanks!