AppleScript名:隣接Rangeの検出じっけん |
— Created 2017-12-12 by Takaaki Naganoya — 2017 Piyomaru Software use AppleScript version "2.4" use scripting additions use framework "Foundation" set aRange to current application’s NSMakeRange(10, 80) –original range set bRange to current application’s NSMakeRange(9, 81) –entended range (to detect neighbor) set cRange to current application’s NSMakeRange(89, 30) –target range set aRes to current application’s NSIntersectionRange(bRange, cRange) |
More from my site
(Visited 15 times, 1 visits today)