Auto insert of hyperlink “Display text”?

Everything related to our flagship word processor.
Post Reply
foster13
Posts: 37
Joined: 2013-02-25 14:16:16

Auto insert of hyperlink “Display text”?

Post 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!
User avatar
phspaelti
Posts: 1349
Joined: 2007-02-07 00:58:12
Location: Japan

Re: Auto insert of hyperlink “Display text”?

Post 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
philip
Post Reply