AppleScript名:asoc_レコードをリストから生成 |
use AppleScript version "2.4" use scripting additions use framework "Foundation" set labelList to {"Address", "Names"} set valueList to {"ここらへん", "ぴよまるさん"} set theResult to current application’s NSDictionary’s dictionaryWithObjects:(valueList) forKeys:(labelList) set aRec to theResult as record –> {Address:"ここらへん", Names:"ぴよまるさん"} |
More from my site
(Visited 24 times, 1 visits today)