AppleScript名:ファイルの存在確認 |
— Created 2017-10-31 by Takaaki Naganoya — 2017 Piyomaru Software use AppleScript version "2.4" use scripting additions use framework "Foundation" use framework "AppKit" set aPath to POSIX path of (choose file) set aExt to current application’s NSFileManager’s defaultManager()’s fileExistsAtPath:aPath –> true |
AppleScript名:ファイルの存在確認(OLD Style AS) |
set aFile to choose file
tell application "Finder" set aRes to exists of aFile –> true end tell |
More from my site
(Visited 971 times, 1 visits today)