AppleScript名:1Dリスト内のテキストの文字列長を取得 |
— Created 2017-01-30 by Takaaki Naganoya — 2017 Piyomaru Software use AppleScript version "2.4" use scripting additions use framework "Foundation" set anArray to current application’s NSArray’s arrayWithArray:{"aaaa1", "sss2", "aaaa3"} set aVal to anArray’s valueForKeyPath:"length" –> (NSArray) {5, 4, 5} |
More from my site
(Visited 18 times, 1 visits today)