dfay Posted August 12, 2018 Share Posted August 12, 2018 I recently migrated nearly all my snippets from TextExpander to Alfred. These include many which call AppleScripts -- in Alfred these had to be recreated as workflows with snippet triggers. The problem is that I used to use many of these snippets to generate text for use in Alfred, i.e. I'd call up Alfred, type the snippet to run the script into Alfred's window, and then run a workflow on the resulting text. When I do this with an Alfred snippet trigger, however, rather than putting its output into Alfred's window, it pastes it to the underlying app. This is consistent with the behaviour for a Copy to Clipboard action with the paste button checked, but it's not appropriate for a snippet trigger. So it's not really a bug - but it is a significant inconsistency in the behaviour of Alfred's snippets vs. Alfred's snippet triggers, and one that makes it a lot less feasible to migrate from TE. Maybe what is needed is an Allow pasting to Alfred? option in the Copy to Clipboard object? Link to comment
dfay Posted August 12, 2018 Author Share Posted August 12, 2018 Ok I solved this only two minutes after posting. You just need to uncheck the paste option in Copy to Clipboard, then pipe the output onward to a Dispatch Key Combo ⌘V . Link to comment
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