AppleScript名:指定文字コードでファイル書き出し(SJIS)v2 |
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 NSShiftJISStringEncoding) |error|:(missing value) |
More from my site
(Visited 19 times, 1 visits today)