AppleScript名:ASOCでUUID文字列を取得する |
— Created 2015-08-14 by Takaaki Naganoya — 2015 Piyomaru Software use AppleScript version "2.4" use scripting additions use framework "Foundation" set aUUID to current application’s NSUUID’s UUID() –> (__NSConcreteUUID) <__NSConcreteUUID 0x7f87d814d000> 6737A4CD-D509-42F5-BD0C-DB894127424D set aStr to aUUID’s UUIDString() –> (NSString) "6737A4CD-D509-42F5-BD0C-DB894127424D" set bStr to aStr as text –> "6737A4CD-D509-42F5-BD0C-DB894127424D" |
More from my site
(Visited 38 times, 1 visits today)