Is there a way to select specific parts of a pdf or word doc file that can be copied into another document through applescript, such as the red text line in this pdf doc?