I am new to Better Touch Tool and purchased it to create shortcuts for Outlook on Mac. I want to type in a short string, say "abc", and then have a shortcut which will replace "abc" with "a big cat" that has a link to a website attached, say "https://bigcats.com".
I've spent the day looking through the forums and have struck out, because it appears that Outlook will not take a standard html string like a big cat. If I paste that into outlook, manually or with Better Touch Tool's javascript actions, the whole think gets spelled out rather than seeing just "a big cat" with the indicator that it has a hyperlink.
My next idea is to try and change "abc" to "a big cat" with the paste_text() function in Real Javascript, select that text somehow using Real Javascript action, and then invoke Format->Hyperlink in Outlook to add the url. Is there a way to invoke a menu item in a program from Real Javasript in BTT?
Or would anyone suggest another strategy for inserting text with a hyperlink into an outlook email message using Real Javascript in BTT? Thanks much.
You can lower the delay, but you need to have some.
This trigger is configured under "Key Sequences / Typed Words" section only because you said that you would like to type abc, but you can achieve the same using a shortcut. The key sequences could be sometimes tricky since they have the following great options/configurations:
Thank you so much for your answer. I will try this. However, the reason I went to javascript is I actually have about 50 of these 3-letter combos that I want to replace with hyperlinked text. So I was going to write a big switch statement in the javascript.
Would you suggest I make 50 different sets of the action sequence above, or 50 different shortcuts? It seems impractical to make so many shortcuts, I would never remember them.
Also, my problem was on the outlook side - I can get things to paste into outlook, but outlook won't accept them as hyperlinked text. I will try your suggestion to see if outlook accepts that as hyperlinked text.