Skip to main content
FrameMaker-dk
Community Expert
Community Expert
Sep 27, 2021 12:15 PM UTC
Question

Feature request: Make it possible to skip ALL *.lck files when opening a crashed document

https://tracker.adobe.com/#/view/FRMAKER-10835

 

Right now I am working with some big book files and they are pretty unstable with crashes on and off.

It IS possible to delete all lck files using Windows Explorer, but I would really like the Open and Reset dialogue to be more versatile and allow to open ALL crashed files with one click.

    This topic is closed to new replies. Start a new post to keep the conversation going.

    15 replies

    Barb Binder
    Community Expert
    Community Expert
    Sep 29, 2021 12:04 AM UTC

    @LinSims:

     

    Wait. Are you saying that if this checkbox is disabled when working locally, that the .lck files won't ever be generated again after a crash?

     

    ~Barb

     

    Translate
    ~Barb at Rocky Mountain Training
    LinSims
    Community Expert
    Community Expert
    Sep 29, 2021 1:14 AM UTC

    They aren't generated after a crash. They're created when someone opens a file that is located on a network drive. When you close a file normally, Frame deletes the lock file. If Frame crashes, the lock files don't get deleted.

    Translate
    K.Daube
    Community Expert
    Community Expert
    Sep 28, 2021 2:12 PM UTC

    Bjoern,

    Is this (https://tracker.adobe.com/#/view/FRMAKER-10835) a correct URL? I get "No issues found" in the public tracker.

    I would like to amend the requirement by somthing like this:

    «However there is still the task to open all the *.auto.fm files and save them to the *.fm files. IMHO this should be automated by a switch in the Restore Last Session process.

    During development of scripts working on books (or another bunch of files) it often happens that FM crashes (even with no crash log) and leaves the *.auto.fm files there besides the *.lck files.»

    Translate
    FrameMaker-dk
    Community Expert
    Community Expert
    Sep 28, 2021 3:09 PM UTC

    You are right. Odd - and I can't find the feature request by searching either.

    Translate
    Bjørn Smalbro - FrameMaker.dk
    Legend
    Sep 28, 2021 10:48 AM UTC

    I agree too. In fact, I got so tired of this that I just made a Windows batch file that I run after every crash. Just a bunch of lines like this:

     

    del /P C:\documentation\some_folder\*.lck  
    del /P C:\documentation\some_folder\*.recover*  
    del /P C:\documentation\some_other_folder\*.lck  
    del /P C:\documentation\some_other_folder\*.recover*  

    etc.

     

    Russ

    Translate
    Barb Binder
    Community Expert
    Community Expert
    Sep 27, 2021 7:36 PM UTC

    Great idea and I voted for it, Bjørn.

     

    In the meantime—for others reading this post—consider keeping the active project folder open in File Explorer, in Details view and sorted by Type. Then it's just a click, Shift+click to select all the .lck files and delete them. 

     

    ~Barb 

    Translate
    ~Barb at Rocky Mountain Training
    LinSims
    Community Expert
    Community Expert
    Sep 28, 2021 12:04 PM UTC

    I do something similar for backup files, but I use a program called xplorer2 that lets me keep multiple folders open and also lets me have preprogrammed filters. All I have to do is select the delete backups filter and the only thing I see is the backup files. This ensures I don't accidentally select the actual save file as opposed to the backup file.

    Translate
    Community Expert
    Sep 28, 2021 12:07 PM UTC

    Yes. I do this with Total Commander. Very handy.

    When I just type lck, it filters so that only files with lck are shown. Then select all and delete.

    And I can also create predefined filters, e.g. for backup files which I do not need in a certain folder.

    Translate