I'm having a problem where a process will occasionally crash while I'm running it. When I try to re-run it, I run document.open( filename ), but it will only open read-only because it thinks the file is still in use. Is there any way to force it to open editable, or to switch a read-only document to editable after opening, via the API?