AppleScript名:指定文字コードでファイル書き出し(UTF-16)v2 |
— Created 2014-11-11 by Takaaki Naganoya — 2014 Piyomaru Software use AppleScript version "2.4" use scripting additions use framework "Foundation" set aStr to "高島屋" set aPath to choose file name set cStr to current application’s NSString’s stringWithString:aStr set thePath to POSIX path of aPath set aRes to cStr’s writeToFile:thePath atomically:false encoding:(current application’s NSUnicodeStringEncoding) |error|:(missing value) |
More from my site
(Visited 28 times, 1 visits today)