When you change the Label, save these settings immediately.

Features wanted...
Post Reply
g2m.agent
Posts: 17
Joined: 23 Nov 2016 02:00

When you change the Label, save these settings immediately.

Post by g2m.agent »

When you change the Label, save this setting immediately.

I spent 10 minutes to mark the files, then the program crashes. All the Labels gone. :(

FluxTorpedoe
Posts: 855
Joined: 05 Oct 2011 13:15

Re: When you change the Label, save these settings immediate

Post by FluxTorpedoe »

Hi’
I feel you… It only occurred to me a few years ago (never since), but it was definitely frustrating!

I don’t think what you ask for is implemented as is by default (wouldn’t be so wise for various reasons).
But here’s what you could do instead:


☛ General suggestion: Assign a shortcut to "Save Settings"
   Shift+F9 > Jump… > type "save" > OK >
   Assign something logical for you, e.g. "Ctrl+S"

   Not exactly what you were after, but probably enough—and a sensible action anyway IMHO!


☛ Specific suggestion: Assign shortcuts to "Label # and Save Tags (& Labels) Database"
   Menu "User" | "Manage Commands…" > Choose "Run Script" in left pane >
   "New…" (add an entry for each of your labels)
   e.g. for the first label:
      Caption: Apply Label 1
      Script: tag 1; #195;
      Assign Keyboard Shortcut…: e.g. Numpad 1


FYI, I personally assigned
   Numpad 1-5 to labels 1-5
   Numpad 0 to "Remove Label" (tag 0;), and
   Numpad . to "Apply Last Label" (#879;)
   (and also Num6 to "Add Comment…" and Num7 to "Add Tags By List…", etc.)
   (Matching #numbers are in "Help" | "List All Commands…")

I can tell you it’s a breeze to label items this fast (if you have a pad, ofc)!

And BTW, I only save manually with Ctrl+S after extensive labeling sessions (don’t need to force save after each individual label).

Hope this helps, 8)
Flux

—————————
Edit: Changed "Label & Save all settings" (tag ...; #182;) to "Label & Save tags database" (tag ...; #195;).
Last edited by FluxTorpedoe on 23 Nov 2016 14:21, edited 3 times in total.

admin
Site Admin
Posts: 60601
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: When you change the Label, save these settings immediate

Post by admin »

Note that there is also a general autosave:

Configuration | Startup & Exit | Autosave settings after this many minutes

PeterH
Posts: 2785
Joined: 21 Nov 2005 20:39
Location: Germany

Re: When you change the Label, save these settings immediate

Post by PeterH »

Hm - maybe it's not exact about "settings"?

I think it's more like an attribute of a file - that should be saved when changed. Independent from XY-settings, being something like XY-internal.
Win11 Pro 223H2 Gerrman

FluxTorpedoe
Posts: 855
Joined: 05 Oct 2011 13:15

Re: When you change the Label, save these settings immediate

Post by FluxTorpedoe »

PeterH wrote:Hm - maybe it's not exact about "settings"?
Indeed!… All labels/tags are saved in their own single database (by default, though you can use different databases with scripting).

I’d overlooked this info—drawing from own experience, where occasionally I’d rather save everything on demand (including e.g. User Scripts, etc.), and didn’t have to change this workflow since labels were introduced.


☛ So, one way to manually save Tags (and labels + comments) database is:

   "File" | "Settings Special" | "Save Tags"
   or command: #195;

(I’ll edit my previous post.)

    g2m.agent
    Posts: 17
    Joined: 23 Nov 2016 02:00

    Re: When you change the Label, save these settings immediate

    Post by g2m.agent »

    I just wondering why not a immediately effect, like changing the filename.
    OSX Finder's label is immediately saved.

    now I assign "Ctrl + S" to Save Tags (labels, tags and comments), but I really hope that this process can be automated.

    admin
    Site Admin
    Posts: 60601
    Joined: 22 May 2004 16:48
    Location: Win8.1 @100%, Win10 @100%
    Contact:

    Re: When you change the Label, save these settings immediately.

    Post by admin »

    OK, I think about it. There is obvious demand here.

    admin
    Site Admin
    Posts: 60601
    Joined: 22 May 2004 16:48
    Location: Win8.1 @100%, Win10 @100%
    Contact:

    Re: When you change the Label, save these settings immediately.

    Post by admin »

    Well, guess I will add it as an option below "Configuration | Tags | On sorting keep tagged items on top". Would this be a good caption?

    [ ] Save changes immediately to disk

    admin
    Site Admin
    Posts: 60601
    Joined: 22 May 2004 16:48
    Location: Win8.1 @100%, Win10 @100%
    Contact:

    Re: When you change the Label, save these settings immediately.

    Post by admin »

    admin wrote:Well, guess I will add it as an option below "Configuration | Tags | On sorting keep tagged items on top". Would this be a good caption?

    [ ] Save changes immediately to disk
    Well, I thought about it and decided against it.

    - Saving a potentially huge file on every single tag changing mouse click or other action is simply too much.
    - It's also a good safety belt to have a good version on file in case of a fatal slip of the hand.
    - The Autosave settings after this many minutes setting does a good job enough here.

    g2m.agent
    Posts: 17
    Joined: 23 Nov 2016 02:00

    Re: When you change the Label, save these settings immediately.

    Post by g2m.agent »

    happy and sad :) :(

    if i hit "Ctrl+S" everytime when label changes, what's the difference between manual and automatic?

    moreover, it is "option" right, unabled by default, people who don't need it can ignore it.

    admin
    Site Admin
    Posts: 60601
    Joined: 22 May 2004 16:48
    Location: Win8.1 @100%, Win10 @100%
    Contact:

    Re: When you change the Label, save these settings immediately.

    Post by admin »

    Why don't you use Autosave settings after this many minutes?

    By the way, you said:
    I spent 10 minutes to mark the files, then the program crashes.
    This program does not usually crash. What did you do to make it crash?

    admin
    Site Admin
    Posts: 60601
    Joined: 22 May 2004 16:48
    Location: Win8.1 @100%, Win10 @100%
    Contact:

    Re: When you change the Label, save these settings immediately.

    Post by admin »

    Changed my mind, next version has this:

    Configuration | Tags | Save changes to disk immediately

    Post Reply