AppleScript名:矩形座標同士の合計 |
— Created 2017-03-06 by Takaaki Naganoya — 2017 Piyomaru Software use AppleScript version "2.4" use scripting additions use framework "Foundation" set a1Rect to {origin:{x:10, y:10}, |size|:{width:40, height:40}} set b1Rect to {origin:{x:30, y:30}, |size|:{width:40, height:40}} set a1Res to current application’s NSUnionRect(a1Rect, b1Rect) –> {origin:{x:10.0, y:10.0}, size:{width:60.0, height:60.0}} |
More from my site
(Visited 23 times, 1 visits today)