Here's my first attempt:
Code: Select all
$doc = Document.active
$paras = $doc.text.find('^.+\n','Ea')
$green = Color.green
forEach $para in $paras
$attr = $para.text.displayAttributesAtIndex $para.location
if ?????? how to check for borders ??????
Push Target Selection $para
Set Highlight Color $green
End
End
Also the Push selection step could probably be avoided.
Any help would be greatly appreciated
