Forum Archive

Copy formatted text to clipboard

Chrishphoto

Hi

I am just starting to get to grips with workflow and have been trying to find a way to copy formatted text to the clipboard so I can paste this into other rich text apps, such as calendar or email replies.

I can't see any way to do this directly. I have considered forming an email and then copying the text, and copying from the preview but i have been unable to find any actions to interact with the email pop up or with the preview. Can this be done with actions or with python?

Any pointers would be appreciated!

Thanks,
Chris

peterh86

You can do this with three actions in a workflow:

Get Document Text
Convert markdown to HTML
Set Clipboard

Before you run the workflow, open the document in Editorial.
After it has run, switch to your other app and paste the html in.

Then you can fancy up the workflow:

  • At the start of the workflow, check there is a .md file open in Editorial.
  • At the end, display a HUD alert that the html is on the clipboard, to switch to the other app and paste it there.
Chrishphoto

Thanks Peter but I would like to have formatted text in the clipboard rather than HTML. Do you know whether this is possible?

omz

@Chrisphoto It's currently not possible, sorry.

Chrishphoto

Thanks for responding. Is there any chance of this happening at some point?