Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Tell if movie has been played?

Is there a way for applescript to look at folder with jpg and movies. And mark the ones that have never been played? I was thinking of comparing date modified to date last opened.

Posted on Feb 7, 2016 9:46 AM

Reply
1 reply

Feb 7, 2016 5:24 PM in response to Marshall Welsch

There is no guarantee that 'opening' a movie results in it being played.


There doesn't appear to be any direct way to read a file's access time via AppleScript, but you can use the shell commands to find the last access time of a file:


# ls -ul /path/to/some.mov

which may differ from the last modification date ( ls -l /path/to/some.mov )


But there may be many reasons why a file is accessed which does not involve the movie being played, so it may not be helpful.

Tell if movie has been played?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.