Such a train wreck. I stupidly updated to the macOS beta, and it caused so many errors that I basically had to restore from a Time Machine backup. Unfortunately, the Time Machine backup seems to want to only restore to the same beta, so I might be copying all of my files off of my Time Machine backup like some kind of peasant.
For me, this code runs fine in script editor
say "about to set variable"
tell application "Keyboard Maestro Engine"
setvariable "spellChecked" to spellCheckedValue
end tell
but run from inside a KM "do Applescript" it fails with the error others have been reporting.
I am currently undertaking the laborious task of reinstalling Mac OS 27 and will avoid any beta software. But I see that Mac OS 27.1, a proper non beta, is ready to be installed. I never want to have my main machine rendered useless again, so can anyone report if there are errors in the mac OS 27.1 release?
** Edit, I wiped my Mac, installed Mac OS 27 via a USB drive, and restored my files. I will MUCH more careful when updating in the future.