Reply to: Read Only Mode – Xmetal 5.5July 2, 2009 at 4:01 pm
Can you say if this is XMetaL Author or XMAX?
Where does this script live? I suspect it is not in an MCR file and part of some application that contains XMAX?
I'm asking because I'm wondering why you are including “XMetaL” at the beginning of XMetaL.ActiveDocument.Range. If this is XMAX then that sort of makes sense, but we're missing the code that defines what that is and the issue might be there.
The second part that starts with “readOnlyAttrib” also does not have any context. We don't know what readOnlyAttrib or xmlDoc are (if this is important to your issue).