Action

open last Draft

Posted by FlohGro, Last update over 1 year ago

created by @FlohGro / more on my Blog

open last draft

This is a handy little action, that opens the last accessed Draft (before the currently loaded Draft).

best use is of course with a keyboard shortcut on the mac. By default it uses Shift+Option+Control+Command+L or Hyper Key + L

I enjoy using it with the Logitec MX mouse where I assigend this hotkey to the “back button” on the side


If you find this useful and want to support me you can donate or buy me a coffe

Buy Me A Coffee

Steps

  • script

    // open last draft
    
    
    let recentDraftsArray = Draft.query('', 'all', [], [], 'accessed', true, false)
    
    editor.load(recentDraftsArray[1]);
    

Options

  • After Success Nothing
    Notification None
    Log Level Info
Items available in the Drafts Directory are uploaded by community members. Use appropriate caution reviewing downloaded items before use.