If we create a new file or a new folder, often we want to do something automatically with it.
To select them, we can do workarounds like "cm_SrcByDateTime , cm_GoToFirstEntry , cm_Return"
But maybe you can implement two new commands like cm_GoToYoungestFILE, cm_GoToYoungestFOLDER (in source)
Or:
cm_GoToYoungest = file
cm_GoToYoungest 1 = folder
Wish: cm_GoToYoungestFILE, cm_GoToYoungestFOLDER
Moderators: Hacker, petermad, Stefan2, white
Re: Wish: cm_GoToYoungstestFILE, cm_GoToYoungstestFOLDER
I think you mean "youngest" instead of "youngstest".
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
Re: Wish: cm_GoToYoungstestFILE, cm_GoToYoungstestFOLDER
?
Yes, you're right, thanks.
Modified it now.
Yes, you're right, thanks.
Modified it now.
Re: Wish: cm_GoToYoungestFILE, cm_GoToYoungestFOLDER
In my Extended Menus I use these em_commands:
Except for enabling sorting of directories, these commands returns everything to how it was before the command is executed.
Code: Select all
[em_gotonewestfile]
cmd=cm_SrcByName 8,cm_SrcByDateTime 2,cm_GoToFirstFile,cm_SrcByName 9
menu=Go to newest file
[em_gotooldestfile]
cmd=cm_SrcByName 8,cm_SrcByDateTime 1,cm_GoToFirstFile,cm_SrcByName 9
menu=Go to oldest file
[em_gotonewestdir]
cmd=cm_SaveSelection,cm_SwitchDirSort 2,cm_SrcUserSpec 8,cm_SrcByName 8,em_hide_all,cm_SrcByDateTime 2,cm_GoToFirstEntry,cm_SrcUserSpec 9,cm_SrcByName 9,cm_RestoreSelection
menu=Go to newest folder
[em_gotooldestdir]
cmd=cm_SaveSelection,cm_SwitchDirSort 2,cm_SrcUserSpec 8,cm_SrcByName 8,em_hide_all,cm_SrcByDateTime 1,cm_GoToFirstEntry,cm_SrcUserSpec 9,cm_SrcByName 9,cm_RestoreSelection
menu=Go to oldest folder
[em_gotosmallestfile]
cmd=cm_SrcByName 8,cm_SrcBySize 1,cm_GoToFirstFile,cm_SrcByName 9
menu=Go to smallest file
[em_gotolargestfile]
cmd=cm_SrcByName 8,cm_SrcBySize 2,cm_GoToFirstFile,cm_SrcByName 9
menu=Go to largest file
[em_hide_all]
cmd=cd |*
menu=Hide All Files (Show Only Folders)
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Re: Wish: cm_GoToYoungestFILE, cm_GoToYoungestFOLDER
Thanks, that's fine for the moment too.
But you have to remember that trick somehow, specifically when you change your TC or PC (e.g. working on others device).
And it can't be looked up just in TOTALCMD.inc - text file.