Hey guys!
I am looking for an Automator action, ready to use, that returns the “Date Added” in MacOS Sierra Finder.
Do you have that ?
Thanks.
Browser: Safari 603.2.4
Operating System: Mac OS X (10.12.5)
Hey guys!
I am looking for an Automator action, ready to use, that returns the “Date Added” in MacOS Sierra Finder.
Do you have that ?
Thanks.
Browser: Safari 603.2.4
Operating System: Mac OS X (10.12.5)
Here is a system you could implement. I tried it and it works. The Applescript will ask you to select the file you are interested in.
1. Run Applescript
on run {input, parameters}
set DA to do shell script "mdls -name kMDItemDateAdded -raw " & quoted form of POSIX path of (choose file "Select file for date added:")
set delim to "/"
tell DA to set dateAdded to word 2 & delim & word 3 & delim & word 1
set input to dateAdded
return input
end run
2. Set Value of Variable
theDateAdded
3. Ask for Confirmation
Message: The date the file was added: theDateAdded.
Body: The date file was added has been determined.
Thanks !!!