Page 1 of 1

Auto insert of hyperlink “Display text”?

Posted: 2014-01-28 09:11:56
by foster13
When pasting a copied url web address to the “Link destination” through Insert > Hyperlink > Add Link, is it possible to add a preference whereby the “Display text” portion of “Add Link” automatically is added as the same, rather having to do an additional paste of the same information into the “Display text” dialogue box?

Thank you!

Re: Auto insert of hyperlink “Display text”?

Posted: 2014-01-28 16:05:35
by phspaelti
If you first paste the link and select it then "Insert Hyperlink…" will do that.

Or if you prefer, here's a macro that will insert the current clipboard contents as a link.

Code: Select all

$cb = Read Clipboard
$link = Link.newWithURL $cb
Insert Text $cb
$link.apply