"Append modified date" into POM

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
admin
Site Admin
Posts: 66294
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

"Append modified date" into POM

Post by admin »

It's trivial but a valuable time saver for me and for anybody who likes to append modified dates to filenames.

Add this to your PFAs...

Code: Select all

|"Append modified date" \;*>::rename bat, *-<datem yyyymmdd>
... and you have the command "Append modified date" in the POM for each folder and file.

j_c_hallgren
XY Blog Master
Posts: 5826
Joined: 02 Jan 2006 19:34
Location: So. Chatham MA/Clearwater FL
Contact:

Post by j_c_hallgren »

Ok, so I tried this out, and it works quite nicely, but it had me wondering:

Is there a way to access this via right-click on selected file that is obvious but not to me currently?

Yes, I do realize that I've stated before that I dislike right-clicks, but given that it's easiest way to access some extended options, while using the TB 'Open with" or Cntl+Alt+Enter isn't.
Still spending WAY TOO much time here! But it's such a pleasure helping XY be a treasure!
(XP on laptop with touchpad and thus NO mouse!) Using latest beta vers when possible.

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

Post by admin »

j_c_hallgren wrote:Is there a way to access this via right-click on selected file that is obvious but not to me currently?
No, although it would be nice. But I see no easy way to trigger an alternate context menu, and I don't want to add it to the already large current context menu.

With Custom Mouse Effects (or so...) -- what I called "Action and Response" some days ago, there will be more possibilities... :)

j_c_hallgren
XY Blog Master
Posts: 5826
Joined: 02 Jan 2006 19:34
Location: So. Chatham MA/Clearwater FL
Contact:

Post by j_c_hallgren »

admin wrote:But I see no easy way to trigger an alternate context menu, and I don't want to add it to the already large current context menu.
Large context menu? Huh? I only see three XY items where I'd have expected to find it (To Clipboard/Rename Spc/Move-Copy-Bkup) so having one more at that level wouldn't be that much...but it could need to be labeled slightly different to totally distinguish it from OS's Open With, such as "Portable Open With.." although it would appear in the first group so the separator would somewhat identify it as XY related.
Still spending WAY TOO much time here! But it's such a pleasure helping XY be a treasure!
(XP on laptop with touchpad and thus NO mouse!) Using latest beta vers when possible.

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

Post by admin »

j_c_hallgren wrote:
admin wrote:But I see no easy way to trigger an alternate context menu, and I don't want to add it to the already large current context menu.
Large context menu? Huh? I only see three XY items where I'd have expected to find it (To Clipboard/Rename Spc/Move-Copy-Bkup) so having one more at that level wouldn't be that much...but it could need to be labeled slightly different to totally distinguish it from OS's Open With, such as "Portable Open With.." although it would appear in the first group so the separator would somewhat identify it as XY related.
Yes, would work and make sense. However, for internal reasons this would be quite tough to program, so I say: maybe later.

Pagat
Posts: 306
Joined: 09 Oct 2007 21:23
Location: Austria

Post by Pagat »

just to meet the two-fools-rule: i'd also benefit if the XY-Open-With is accessible via right click menu :)
though, it's no priority for me...

jacky
XYwiki Master
Posts: 3106
Joined: 23 Aug 2005 22:25
Location: France
Contact:

Post by jacky »

Well, once we'll have onEvent scripting, or Custom Event Actions as it may now be officially called, we'll be able to put such features (as well as any other we like) on middle-click for example. We could even have a different menu depending on the file selected, the current location, etc 8)

Another big plus of using our own ctxt menu like that, instead of item's ctxt menu : pure XY stuff, no need to call shell or any shell extension, you can win a few seconds easy as the menu pops up instantly!
Proud XYplorer Fanatic

serendipity
Posts: 3360
Joined: 07 May 2007 18:14
Location: NJ/NY

Re: "Append modified date" into POM

Post by serendipity »

admin wrote:It's trivial but a valuable time saver for me and for anybody who likes to append modified dates to filenames.

Add this to your PFAs...

Code: Select all

|"Append modified date" \;*>::rename bat, *-<datem yyyymmdd>
... and you have the command "Append modified date" in the POM for each folder and file.
This renamed my file to 1. I should have checked first. Anyway, the new one which works is:

Code: Select all

|"Append modified date" \;*>::rename bat, "*-<datem yyyymmdd>"

serendipity
Posts: 3360
Joined: 07 May 2007 18:14
Location: NJ/NY

Re: "Append modified date" into POM

Post by serendipity »

serendipity wrote:
admin wrote:

Code: Select all

|"Append modified date" \;*>::rename bat, *-<datem yyyymmdd>
... and you have the command "Append modified date" in the POM for each folder and file.
This renamed my file to 1. I should have checked first. Anyway, the new one which works is:

Code: Select all

|"Append modified date" \;*>::rename bat, "*-<datem yyyymmdd>"

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

Re: "Append modified date" into POM

Post by admin »

serendipity wrote:
admin wrote:It's trivial but a valuable time saver for me and for anybody who likes to append modified dates to filenames.

Add this to your PFAs...

Code: Select all

|"Append modified date" \;*>::rename bat, *-<datem yyyymmdd>
... and you have the command "Append modified date" in the POM for each folder and file.
This renamed my file to 1. I should have checked first. Anyway, the new one which works is:

Code: Select all

|"Append modified date" \;*>::rename bat, "*-<datem yyyymmdd>"
Yes, thanks. "bat" is deprecated, so it should be:

Code: Select all

|"Append modified date" \;*>::rename "b", "*-<datem yyyymmdd>"
or, since "b" is default:

Code: Select all

|"Append modified date" \;*>::rename , "*-<datem yyyymmdd>"

Post Reply