Jump to content

[SOLVED] Hotkey trigger copies selection to clipboard


Recommended Posts

Posted

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

Posted (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 by vitor
Posted

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!

Posted
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.

  • vitor changed the title to [SOLVED] Hotkey trigger copies selection to clipboard

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...