AppleScript名:TimeZone名を現在のlocaleの言語で返す |
— Created 2018-01-17 16:57:25 +0900 by Takaaki Naganoya — 2018 Piyomaru Software use AppleScript version "2.4" use scripting additions use framework "Foundation" set aTZ to current application’s NSTimeZone’s localTimeZone() set tzName to aTZ’s localizedName:(current application’s NSTimeZoneNameStyleStandard) locale:(current application’s NSLocale’s currentLocale()) return tzName as string –> "日本標準時" |
More from my site
(Visited 35 times, 1 visits today)