This is an AppleScript for dealing with links in all open documents.