Description: This script will make a link in the clipboard from a URL in the clipboard
Requirement: Mac OS 10.x
Open in the Script Editor
-- Script Start (* Simple script to create a link tag from a url in the clipboard 2004-06-30 by Fredrik Jonsson <mailto(colon)fredrik(at)combonet(dot)se> home page <http://xdeb.org/wiki/AppleScript> *) try tell me set this_url to the clipboard set url_tag to "<a href=\"" & this_url & "\">" & "LinkText</a>" set the clipboard to the url_tag end tell end try -- Script Stop