BBenj Posted February 10, 2020 Share Posted February 10, 2020 Hello, I created a workflow to open in a specific App the currently selected file in the Finder, via a hotkey trigger. Issue is, the hotkey trigger action copies the file name to the clipboard in the process, which I don't want. Seems like a bug to me, but not really sure if it is supposed to do that or not, I couldn't find any info on that. Otherwise, how could I fix that? Thanks! Benjamin Link to comment
vitor Posted February 10, 2020 Share Posted February 10, 2020 (edited) Welcome @BBenj, It’s not a bug, it’s something Alfred needs to do to act on the selection. To keep the current clipboard selection, go to Alfred Preferences → Advanced → Selection Hotkeys and choose Restore previous clipboard item (uses more memory). Though it seems that option has a small bug as of now, not restoring the previous item if the current selection wasn’t already on the clipboard. Edited February 10, 2020 by vitor BBenj 1 Link to comment
BBenj Posted February 10, 2020 Author Share Posted February 10, 2020 Oh, I see. That just fixed my issue! I do not have the bug you experienced though, it seems (on 10.15.3, Alfred 4.0.8 [1135]). I tried with a file I never opened before with the hotkey, and the clipboard was preserved. Thank you! Link to comment
vitor Posted February 10, 2020 Share Posted February 10, 2020 3 minutes ago, BBenj said: I do not have the bug you experienced though I’ll have to test it a bit more. It seems it depends on if you act on the selection or cancel it. 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