AppleScript名:積集合(product)v2 |
— Created 2017-02-24 by Takaaki Naganoya — Created 2017-03-01 by Shane Stanley use AppleScript version "2.4" use scripting additions use framework "Foundation" –http://piyocast.com/as/archives/4491 set aSet to current application’s NSMutableSet’s setWithArray:{1, 2, 3, 4} set bSet to current application’s NSMutableSet’s setWithArray:{3, 5, 6, 7} aSet’s intersectSet:bSet –積集合 aSet’s allObjects() as list –> {3} |
More from my site
(Visited 15 times, 1 visits today)