It seems an AppleScript for me. We can use AppleScriptObjC code with capsuling handler. You can add AppleScript Dictionary to this code with using AppleScript Libraries.
on initBounds(aPDF, wordBounds) current application’s PDFAnnotationMarkup's alloc()'s initWithBounds:wordBounds end initBounds
|