How to open a link with a macro?
Posted: 2016-03-22 06:23:39
Is it possible to search for a word or string in a link and then, once found, open the link with a macro, i.e. without having to click on it with the mouse?
The Nisus Web Forums
Code: Select all
$term = 'Link' $doc = Document.active $found = $doc.text.find $term if $found $link = $doc.text.linkAtIndex $found.location $link.activate $doc else prompt 'Sorry. No links with term "' & $term & '" found' end