Automatic refresh of "age" column?

I have a very simple evaluator column showing each item's age in minutes:

return Age(modified, "n");

I selected all available "refresh" options in the editor and the column does refresh when a file changes - but it does not automatically update as the minutes pass. What do I need to do to achieve that?

I don't think there is any way to do that, other than manually pushing F5 to refresh the column.

Thanks, Leo.

I've experimented further - but to no avail.

I tried a column with return modified as "D#N";: It keeps saying "Today" even as midnight passes.

I tried a column that's based on a global variable and then changed its value.
I tried @toggle:update.
I tried adding a label to a file.
None of those caused an update in the column.

Of course, changing a file's content, timestamp, attributes, or metadata all work, but touching all files/folders just to update a column doesn't really make sense.

Yes, F5 does the job and I could probably set up a timer to do a refresh every minute. But refreshing disrupts current filters, selections, the scrollbar position, any renaming in progress etc. so that's not an option either.

So I'm making this thread a feature request: Pretty please...

  • Enable eval columns to refresh at a (configurable?) interval and on variable changes
  • or provide a way of actively refreshing columns "in the background" without disrupting the rest of the display.

Thank you!

We’ll add a way to do this in 13.14.1.

3 Likes

That's very cool, @Leo!

Meanwhile I've done a bit more digging and learned here that there's secret functionality hidden behind
Preferences / File Displays / Folder Expansion / Remember expanded folders when refreshing:

The option also preserves selections, filters and scroll position when refreshing. I don't use expanded folders and the whole prefs section is disabled, but after turning it on, selecting the above option and then turning expanded folders off again, I can now refresh in peace :innocent:. DOpus just keeps getting better every day...

(Perhaps this should be documented? For me it's a HUGE improvement!)