AppleScript problem after last silent security update
For months an AppleScript in one of my documents has worked perfectly. As I only know RagTime as a scriptable and recordable app I can only describe it in this context, although the problem is clearly not relating to this app. To track the problem I have created a new document containing only a spreadsheet named „Daten“ which I want to export as Excel-document to my desktop. The script in my document is consisting of more steps. But I was able to isolate the command creating the trouble and have reproduced the problem with a simple experiment. I have recorded the export-command with ScriptEditor. The resulting script (with the correct user name, of course) is:
tell application "RagTime 7"
activate
save table "Daten" of document 1 in alias "Macintosh HD:Users:Username:Desktop:Daten.xls" converting to "Excel-Dokument"
end tell
This is exactly the same as in the script which I have used without problems many times. After clicking the hammer I can successfully execute the recorded script exactly once. A second attempt (independent of deleting the saved document beforehand or not) results in the error message:
The same error message is also shown at the bottom of the script window. It is obvious that it cannot be a problem of the RagTime-app because
- I have used the script in my document for months and there was no app-update or -upgrade since its last successful use early last week.
- The recorded script can be used successfully - it fails only when executed a second time.
My suspicion is, that the last macOS „silent security update“ (distributed last week) causes the problem.
MacBook Pro 14″, macOS 15.4