Title

Message

Confirm

<< DiscussionsReply

Append text when clipboard contains specific string

Avatar from Gravatar.com
Adam K1
1 discussion post
Hello,

I'm trying to evaluate if ClipboardFusion meets my needs. I want it to look out for my clipboard containing text which includes a particular string e.g.
.example.com/
and append a predefined text to the end of the clipboard. e.g.
?utm_source=promo1&utm_medium=chat

Example 1 - If my clipboard contains
www.example.com/page1.html
then I want ClipboardFusion to change the clipboard to contain
www.example.com/page1.html?utm_source=promo1&utm_medium=chat

Example 2 - If my clipboard contains
https://www.example.com/apple/banana/page1.html
then I want ClipboardFusion to change the clipboard to contain
https://www.example.com/apple/banana/page1.html?utm_source=promo1&utm_medium=chat

I tried doing this myself using Run Triggers on Copy | Clipboard Changed | Match Conditions | Clipboard Text and then a regular expression, but I couldn't get it to work. Was I going about things the wrong way?

Thanks in advance!
Dec 1, 2017 (modified Dec 1, 2017)  • #1
Thomas Malloch (BFS)'s profile on WallpaperFusion.com
It looks like you're close to having a Trigger set up! It sounds like it should work, but you might just be missing one or two settings. I've attached a screenshot of a Trigger I set up that works for me using your examples. The "Show Notification" action isn't necessary, but it's nice to see some sort of feedback when the Trigger does get triggered.

I hope this works for you!
• Attachment: settings-triggeredit-seturl.png [27,759 bytes]
settings-triggeredit-seturl.png
settings-triggeredit-seturl.png
Dec 11, 2017  • #2
Was this helpful?    
<< DiscussionsReply