| AppleScript名:POSIX pathからファイル名と親フォルダを抽出 | 
| — Created 2016-05-25 by Takaaki Naganoya — 2016 Piyomaru Software use AppleScript version "2.4" use scripting additions use framework "Foundation" set targPath to "/20160524/IMG_1198.JPG" set aPath to current application’s NSString’s stringWithString:targPath set fileName to (aPath’s lastPathComponent()) as string –> "IMG_1198.JPG" set parentFol to (aPath’s stringByDeletingLastPathComponent()) as string –> "/20160524" | 
More from my site
(Visited 289 times, 1 visits today)
               
            









