AppleScript名:ファイル名の文字列から拡張子を削る |
use AppleScript version "2.4" use scripting additions use framework "Foundation" set aPath to "aTest.test" set pathString to current application’s NSString’s stringWithString:aPath set newPath to pathString’s stringByDeletingPathExtension() as string –> "aTest" |
More from my site
(Visited 35 times, 1 visits today)