Gary King Posted February 20, 2017 Share Posted February 20, 2017 How can I prevent pasted snippets from being copied to the clipboard? Link to comment Share on other sites More sharing options...
vitor Posted February 20, 2017 Share Posted February 20, 2017 1 hour ago, Gary King said: How can I prevent pasted snippets from being copied to the clipboard? You can’t. Alfred needs to copy them to be able to expand (paste) them. But you can restore your clipboard to what it was. Alfred Preferences → Features → Snippets → (small cog in top right) → Tweaking → Restore clipboard contents after. Link to comment Share on other sites More sharing options...
Gary King Posted February 21, 2017 Author Share Posted February 21, 2017 21 hours ago, vitor said: You can’t. Alfred needs to copy them to be able to expand (paste) them. But you can restore your clipboard to what it was. Alfred Preferences → Features → Snippets → (small cog in top right) → Tweaking → Restore clipboard contents after. This seems to only work if I have also enabled the feature to automatically expand snippets. What about if I paste snippets using the "sn" keyword in Alfred? Link to comment Share on other sites More sharing options...
vitor Posted February 21, 2017 Share Posted February 21, 2017 3 minutes ago, Gary King said: This seems to only work if I have also enabled the feature to automatically expand snippets. What about if I paste snippets using the "sn" keyword in Alfred? It should work the same for both methods. And for me it does. Link to comment Share on other sites More sharing options...
Gary King Posted February 22, 2017 Author Share Posted February 22, 2017 On 2017-02-21 at 2:12 PM, vitor said: It should work the same for both methods. And for me it does. I have "Restore clipboard content" set to the default, which is checkmarked and at 0.5s. Yet the clipboard is never restored. I copy "test", paste it a few times in a text file to ensure it's in the clipboard. Then open Alfred and type "sn <keyword>" to paste one of my snippets. The snippet is pasted into the text file. Then I wait a few seconds. Then I paste the clipboard's contents, and it's the Alfred snippet, not what I had before. Link to comment Share on other sites More sharing options...
vitor Posted February 22, 2017 Share Posted February 22, 2017 2 hours ago, Gary King said: I have "Restore clipboard content" set to the default, which is checkmarked and at 0.5s. Try increasing it. Also, check the troubleshooting steps. Link to comment Share on other sites More sharing options...
Gary King Posted March 3, 2017 Author Share Posted March 3, 2017 On 2017-02-22 at 5:06 PM, vitor said: Try increasing it. Also, check the troubleshooting steps. I increased it to the max at 0.9s but still doesn't work. Link to comment Share on other sites More sharing options...
Andrew Posted March 5, 2017 Share Posted March 5, 2017 @Gary King This is actually an omission and should work for both typed snippets and using the snip keyword. I'll have this fixed for the snip keyword in Alfred's next release Andrew [moving to bugs forum] Link to comment Share on other sites More sharing options...
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