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 bPath to POSIX path of (choose folder) set bExt to current application’s NSFileManager’s defaultManager()’s fileExistsAtPath:bPath isDirectory:true –> true |
AppleScript名:フォルダの存在確認(OLD Style AS) |
set aFolder to choose folder
tell application "Finder" set aRes to exists of aFolder –> true end tell |
More from my site
(Visited 673 times, 2 visits today)