How to get the documents name in Numbers with Apple Script?
Hi there,
Here is a minimum example of a script that worked fine some weeks ago. But now it produces an error message: number -1728.
tell application "Numbers"
activate
set doc_name to the name of the front document
end tell
error "„System Events“ hat einen Fehler erhalten: „document 1 of
process \"Numbers\"“ kann nicht gelesen werden." number -1728
from document 1 of process "Numbers"
Translation: „System Events“ got an error: „document 1 of process \"Numbers\"“ can not be read.
I think the new version of Numbers causes this error. But I am not sure. What is reason for it?
Any ideas?