The following code worked just fine in older versions of Mori, but in Mori 1.2 it doesn't.
tell application "Mori"
tell front document
tell current entry
state
end tell
end tell
end tell
It produces an NSInternalScriptError message in Script Editor and in Console the error 2006-06-20 08:31:20.317 Mori[1143] [ valueForUndefinedKey:]: this class is not key value coding-compliant for the key scriptState..
I looked at Mori 1.2's AppleScript dictionary and it doesn't seem to have changed, so I couldn't find a solution there. Any thoughts?
Opps. I changed to
Opps. I changed to "checkbox" in the code, but forgot to update the dictionary file. I've just checked in a fix if you want to build from CVS, or you could just replace "state" with "checkbox" in these files:
Plugins/MIDocument/MoriDocumentSuite.scriptSuite
Plugins/MIDocument/MoriDocumentSuite.scriptTerminology
Plugins/MIDocument/MoriDocumentSuite.sdef