Proverbially pulling my hair on this one: With a URL in the clipboard, I want an Alfred Workflow that pastes a link in Google Docs. More specifically, I want a static text to be used as the ~"body", the text should be clickable and clicking on it should open the URL. A basic link. I created a workflow that uses rich text formatting. And it works but when pasting in Google Docs, it adds a new line at the end. It could be that this is the way Google Docs treats incoming rich text from the clipboard. So, I'm wondering if I shouldn't use HTML instead. But I don't know how to make it so that Alfred pastes a link, not raw HTML.
When I copy a link from a webpage, and paste it into Google Docs, it does not add a new line.
What are my next steps here? How can I make this work?
$ cat snippet1.rtf
{\rtf1\ansi\ansicpg1252\cocoartf2636
\cocoatextscaling0\cocoaplatform0{\fonttbl\f0\fswiss\fcharset0 Helvetica;}
{\colortbl;\red255\green255\blue255;}
{\*\expandedcolortbl;;}
\paperw11900\paperh16840\margl1440\margr1440\vieww10800\viewh8400\viewkind0
\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\pardirnatural\partightenfactor0
\f0\fs29 \cf0 [{\field{\*\fldinst{HYPERLINK "URL_TO_REPLACE"}}{\fldrslt Asana}}]}%
What other elements would you need to help me break through?
Thanks a million in advance. Long time user, first time poster Love Alfred and the community. Thanks for all your workflows, people!!