我想知道您将如何创建一个动作,您可以在其中突出显示一组文件并从中获取修改日期,然后让它突出显示/选择/标记具有最近日期的文件。
更新:我想在 Applescript 上做,因为我在这方面做得更进一步。这是我到目前为止所拥有的
set dateList to {}
tell application "Finder"
set inputList to get selection
repeat with i from 1 to count (inputList)
set end of dateList to get modification date of item i of inputList
end repeat
end tell
dateList
--Compare section...
set boolList to {}
set j to 1
repeat with i from 1 to count (dateList)
if i is (count (dateList)) then
set j to 0
end if
set end of boolList to item i of dateList > item (i + j) of dateList
end repeat
boolList