Jump to content

File action to "drag" item into current app

Recommended Posts

I often find myself using the drag and drop feature of alfred, whereby I can drag an item from the list just like you can drag an file from the desktop. For example, this is how I attach email documents.


This is pretty nice, but it would be really nice if I could do this with they keyboard. Is there a workflow for that? If not, does this seem like a feasible thing to do?


Thanks for any help you can provide!

Link to comment

Hi Fred,

you can do this using File Actions

check in Preferences->File Search->Actions

with an hotkey from the search results, you can have the file actions list appear, and there's already an 'Open With.." action to open the selected file choosing the application to use.

there is also an email action that attaches the file to a new email...

If you want an even quicker way to do this, you can create your own workflow, add to it a 'File Action'  object with a name ( you can even specify a file type filter), and then link to the File Action another object of kind 'Open File' where you can specify which app will open that file.

now the next time you hit the hotkey to show the file actions, you will see also your custom one, allowing you to open very quickly the selected file(s)


hope this helps,



Edited by juliosecco
Link to comment

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