Way to times-tamp file's arrival in folder

Features wanted...
Post Reply
ardee
Posts: 36
Joined: 17 May 2016 23:02

Way to times-tamp file's arrival in folder

Post by ardee »

Is there a way to have a script time-stamp when a file first appeared in the current folder (whether via paste, extract from archive, download, or whatever)? The intention is putting that date/time into a custom column that could be sorted upon. The script could return the modified date/time if the timestamp info isn't available.

I couldn't find anything like that in the documentation, but I wouldn't be surprised if I overlooked something amid the vast customization and scripting choices offered by XYplorer.

Thank you!

bdeshi
Posts: 4256
Joined: 12 Mar 2014 17:27
Location: Asteroid B-612
Contact:

Re: Way to times-tamp file's arrival in folder

Post by bdeshi »

That would require XYplorer to expose events it listens for to scripts. (sidenote: Vote for Custom Event Actions!!!)
Unfortunately that's not possible yet (unless some XYwiz overthrows my pessimism) without some external tool.
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]

highend
Posts: 14571
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Way to times-tamp file's arrival in folder

Post by highend »

As Sammay pointed out, not possible with XY atm. An external tool could easily poll the list contents once a second, compare last and current one and tag these files (so the custom column could be used). Possible? Sure. Is it worth it? Depends...
One of my scripts helped you out? Please donate via Paypal

ardee
Posts: 36
Joined: 17 May 2016 23:02

Re: Way to times-tamp file's arrival in folder

Post by ardee »

SammaySarkar wrote:That would require XYplorer to expose events it listens for to scripts. (sidenote: Vote for Custom Event Actions!!!)
Unfortunately that's not possible yet (unless some XYwiz overthrows my pessimism) without some external tool.
That makes sense. Can I actually vote for that? If so, I will/do!
Thank you for the response!

ardee
Posts: 36
Joined: 17 May 2016 23:02

Re: Way to times-tamp file's arrival in folder

Post by ardee »

highend wrote:As Sammay pointed out, not possible with XY atm. An external tool could easily poll the list contents once a second, compare last and current one and tag these files (so the custom column could be used). Possible? Sure. Is it worth it? Depends...
Yeah, probably not worth the effort until those events are exposed to scriptwriters.
(I tried using the "Last Accessed" date/time, but that gives weird and apparently inconsistent results.)
Thanks man.

highend
Posts: 14571
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Way to times-tamp file's arrival in folder

Post by highend »

No need to vote for CEA. It's on Don's list (for some amount of time)...
One of my scripts helped you out? Please donate via Paypal

Post Reply