Here is a script you can use that deletes a document's .lck file after you close the document. Copy it to a text document and save it with a .jsx extension. Copy the file to your C:\Users\<UserName>\AppData\Roaming\Adobe\FrameMaker\17\startup folder, where <UserName> is your Windows login name. (If the folder doesn't exist, create it.) Quit and restart FrameMaker and the script should work automatically.
#target framemaker
Notification (Constants.FA_Note_PostQuitDoc, true);
function Notify (note, object, sparam, iparam) {
var file;
// Derive the lock file's path from the document.
file = sparam.replace (/[^\.]+$/, "lck");
// Make a File object and see if the lock file exists.
file = new File (file);
if (file.exists === true) {
// Delete the lock file.
file.remove ();
}
}
... View more