ericwen229 Posted March 24, 2018 Posted March 24, 2018 (edited) Hello, 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 March 25, 2018 by ericwen229
ericwen229 Posted April 12, 2018 Author Posted April 12, 2018 Should it be counted as a bug? I'd really appreciate it if you could just let me know what you think about it.
Andrew Posted April 12, 2018 Posted April 12, 2018 @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 Cheers, Andrew ericwen229 1
Andrew Posted May 24, 2018 Posted May 24, 2018 @ericwen229 if you update to the 3.6.2 pre-release, then this should now work as described
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now