Jump to content

Evaluating placeholder {clipboard} returns "{clipboard}" when clipboard contains image [Fixed 3.6.2 b914]

Recommended Posts



I'm building a workflow to process text from clipboard and it turns out that if the clipboard contains an image, evaluating placeholder {clipboard} returns the string "{clipboard}" instead of something like an empty string. Everything works well when the clipboard contains plain text (evaluated to itself) or file (evaluated to file name).


Basic info:


Alfred 3.6 - Build 903

macOS 10.13.2

Edited by ericwen229

Share this post

Link to post
Share on other sites

@ericwen229 sorry about the slow reply on this - I have been thinking about this.


Essentially, workflow streams and objects (and in fact Snippets) work with plain text only, so when using e.g. the Copy to Clipboard object, this is copying plain text to the clipboard (never rich text). I think you're right that {clipboard} should be evaluated to an empty string if there is no matching compatible plain text string. I'll get this sorted in the next release:)




Share this post

Link to post
Share on other sites