QA Graphic

Add Hyperlink to Clipboard Content

Keyboard Maestro makes it easy to edit Clipboard content

Wouldn't it be great if there was a way to automatically add hyperlinks to common text? Especially when sending emails? For example, if you reference Jira tickets in your email, wouldn't it be nice that they automatically had Hyperlinks?

You can do this using a Keyboard Maestro Macro in a four simple actions.

Creating Macro to Add Hyperlink to Text

To get this done, I am going to use the Unix textutil command. This will help convert an HTML file to Rich Text Format, which will allow the links to show in Mail, Pages, Microsoft Word, or any application supporting RTF format.

The goal of this Macro is to take the content of the clipboard, add hyperlinks, convert to rich text and then put the final product back on the clipboard ready to paste any place. Feel free to customize this to your own needs!

Keyboard Maestro Replace7

In Atlassian Jira, the Software Project name is the first three letters. If your linking up to Jira make sure to match the project name and the company name.

Cool Features to Think About

The nice thing about Keyboard Maestro is that you can add as many Regular Expressions as you want, such as a link to the company website where ever the company name appears.

Known Issues with this Method

Since this is using a temporary file, the data is still stored on the computer after the action is completed. So anyone with computer access can read the contents of the temp file (Simply add a cleanup step at the end to fix this)

When pasting rich text in Mail the text appears to be smaller, that is because the font changes from Helvetica 12 to Times 12.

 

Comments

Add Comments

Name:
Comment:

 

About

These posts highlights some cool examples of why Keyboard Maestro should be part of every Mac OS user's computer. Keyboard Maestro is a powerful automation tool that can help improve productivity, save time, and streamline tedious tasks. It has a wide range of features and functions that can be customized to suit any user's needs, making it an ideal choice for Mac OS users.

Schedule

WednesdaySnagIt for QA
ThursdayPython
FridayMacintosh
SaturdayInternet Tools
SundayOpen Topic
Monday Media Monday
TuesdayQA