Colorize onnly last edited file

English support forum

Moderators: sheep, Hacker, Stefan2, white

Post Reply
bogordo
Junior Member
Junior Member
Posts: 38
Joined: 2019-12-06, 09:07 UTC

Colorize onnly last edited file

Post by *bogordo » 2020-01-16, 15:32 UTC

Hi,

Is there an option to colorize (within Define colors) only the last edited file inside a folder? i ask because i tend to change names between savings (name_v1, name_v2, name_v2_mod, ...) and sometimes is difficult to view fast what's the last working file (i could sort by Write date...but not so visual/fast)

Was thinking would be amazing to say "ey, colorize only the last saved file inside this folder" :o :?

User avatar
Horst.Epp
Power Member
Power Member
Posts: 3521
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: Colorize onnly last edited file

Post by *Horst.Epp » 2020-01-16, 16:15 UTC

Not colorized but very helpful.
This button jumps to the newest file in current dir.
Ein passendes Icon nach dem einfügen in die Buttonbar selbst definieren.

Code: Select all

TOTALCMD#BAR#DATA
cmd.exe
/k "for /f "usebackq delims=" %%f in (`dir /b /a-d /o-d`) do start "" "%%COMMANDER_EXE%%" /O /S /L="%%~ff\:" & exit"
C:\Tools\Wincmd\Icons\Down-Blue.ico
Newest File

1
-1
Windows 10 Home x64 November 2019 Update, Version 1909 (OS Build 18363.592)
Intel(R) Core(TM) i7-4770 CPU @ 3.40GH, 16GB RAM
TC 9.50ß13 x64 / x86, Everything 1.4.1.962 (x64)

User avatar
tuska
Power Member
Power Member
Posts: 1792
Joined: 2007-05-21, 12:17 UTC

Re: Colorize onnly last edited file

Post by *tuska » 2020-01-16, 16:19 UTC

You need the following for this:
1. Plugin Age 1.04
    Double click on file "wdx_age_1.04.zip" to install this plugin.
2. Saved search, e.g. Modified_within-last-3-minutes
    Plugin: age | Property: Changed | OP: < | Value: 3 --> adjustable!
3. Colour definition
    Configuration > Options... > Color > Define colors by file type... > Add... > click on "Modified_within-last-3-minutes", OK
    Choose a colour, e.g. blue > OK > OK > OK - FINISHED!

See also:
https://ghisler.ch/board/viewtopic.php?t=50011
Refreshing a panel doesn't reset 'age' highlight colouring
I use a button with command: cm_GotoPreviousDir,cm_GotoNextDir,cm_RereadSource for this.

It is not exactly what you want, but also very helpful.

bogordo
Junior Member
Junior Member
Posts: 38
Joined: 2019-12-06, 09:07 UTC

Re: Colorize onnly last edited file

Post by *bogordo » 2020-01-18, 02:17 UTC

Thank you, first method is working really nice with files (not dirs).

The plugin method is working, but the color i define is overwritten but another color filter by extension, even that the plugin color is at the top...

Best regards,

User avatar
Usher
Power Member
Power Member
Posts: 699
Joined: 2011-03-11, 10:11 UTC

Re: Colorize onnly last edited file

Post by *Usher » 2020-01-18, 05:22 UTC

2bogordo
If you don't need high time precision, you can use "Define colors by file type…" and define selection for files/dirs not older then 0 (zero) days. It works properly when put on the top of the color list.
Regards from Poland
Andrzej P. Wozniak

Post Reply