Getting UI Scripting to work

Thanks korm for putting me on the right track. I have managed now to hack the Quotation and Annotation script
[url]QuoteHighlight&Annotate script] to highlight a pdf at the same time as making the annotation.

Its still very hackish because moving a script template out of the Devonthink hierarchy breaks other things as well and you have to use Fastscripts to attach a keyboard shortcut to it once its in the general applescripts folder. I need to tidy it up before its posted

Frederiko