How does the "accessed" date work?

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
okumam
Posts: 7
Joined: 21 Oct 2021 15:36

How does the "accessed" date work?

Post by okumam »

I was hoping to use this for sorting by the last time I accessed some movies (like figure out what I watched and what I didn't watch), but it doesn't seem to work. I sort by access date then open a movie from the middle of the list that has a 2018 date. I am expecting that movie to move to the top and be updated with the current date, but the accessed date does not update. Am I missing something?

If this is not for seeing when you last opened a file, is there a way to track that in XYPlorer?

Horst
Posts: 1092
Joined: 24 Jan 2021 12:27
Location: Germany

Re: How does the "accessed" date work?

Post by Horst »

By default Date Accessed will not be updated in NTFS volumes.
Its wasting SDD life time and should only be enabled on Server systems.
Windows 11 Home x64 Version 23H2 (OS Build 22631.3527)
Portable XYplorer (actual version, including betas)
Everything 1.5.0.1372a (x64), Everything Toolbar 1.3.3, Listary Pro 6.3.0.73

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

Re: How does the "accessed" date work?

Post by highend »

If this is not for seeing when you last opened a file, is there a way to track that in XYPlorer?
Possible? Sure. A custom file association (or a button) with a script that opens the selected item and tags it with the current date in conjunction with a custom column (again with a script), that reads and display that tag (the date)
One of my scripts helped you out? Please donate via Paypal

3ccentricity
Posts: 6
Joined: 04 Feb 2022 13:46

Re: How does the "accessed" date work?

Post by 3ccentricity »

Can you make a script like that?

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

Re: How does the "accessed" date work?

Post by highend »

E.g. the CFA entry:
{:Video}>::tagitems("ex16", now(), <pfaitem>); open <pfaitem>, "w";

And then you would only need to show the "Extra 16" column...
One of my scripts helped you out? Please donate via Paypal

3ccentricity
Posts: 6
Joined: 04 Feb 2022 13:46

Re: How does the "accessed" date work?

Post by 3ccentricity »

Code: Select all

{:Video}>::tagitems("ex16", now(), <pfaitem>); open <pfaitem>, "w";
Sorry about this but I have no clue what to do when it comes to scripting so just to make my scenario clear I will tell you what I'm trying to accomplish. I want to open folders (containing manga images) with your code above (instead of videos) and I want to open it with my manga reading app which has the path:

Code: Select all

C:\Program Files\YACReader\YACReader.exe

I have no idea what a folder would be presented as within the code, for example:

Code: Select all

{:Video}>       {:Folder}>
Nor do I know how to add the open with argument, like is 1+1? XD:

Code: Select all

{:Folder}>::tagitems("ex16", now(), <pfaitem>); open <pfaitem>, "w"; C:\Program Files\YACReader\YACReader.exe
But if I can't adapt your code to work with folders than i'm outta luck.

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

Re: How does the "accessed" date work?

Post by highend »

CFA doesn't track opening folders...

How will a script know that the folder that is opened contains "manga images"?
Do they have specific names?
One of my scripts helped you out? Please donate via Paypal

Post Reply