AppleScript名:指定日時以降に作成されたファイルをSpotlight検索 v3 |
— Created 2017-09-21 by Takaaki Naganoya — Modified 2017-09-22 by Shane Stanley — 2017 Piyomaru Software use AppleScript version "2.5" use scripting additions use framework "Foundation" use mdLib : script "Metadata Lib" version "1.0.0" –http://piyocast.com/as/archives/4841 property NSTimeZone : a reference to current application’s NSTimeZone set aDate to getDateInternationalYMDhms(2017, 10, 22, 0, 0, 0) of me set thePath to POSIX path of (path to desktop) set theFiles to mdLib’s searchFolders:{thePath} searchString:("kMDItemFSCreationDate >= %@") searchArgs:{aDate} on getDateInternationalYMDhms(aYear, aMonth, aDay, anHour, aMinute, aSecond) |
指定日時以降に作成されたファイルをSpotlight検索 v3
(Visited 28 times, 1 visits today)