Jump to content
dgbeecher

How to "open with" in Alfred

Recommended Posts

I'd like to ask for help accomplishing the following:

 

1. select a file in Finder

2. trigger Alfred

3. search for the app I wish to open that file with

4. open that file with that app

 

 

Is this possible?

 

(I've searched the forums for "open with", which is the command I used to use in Quicksilver to accomplish this. I found ways to set up workflows to open a specific file type with a specific application. But that's not what I want. I want a more flexible way to, on the fly, search for the application I want to use with the currently selected file. Basically I am looking for a way to access, through Alfred, the functionality of the Finder's "open with" contextual menu item.)

 

Thank you!

 

Share this post


Link to post

@dgbeecher you can actually do this without any configuration using the file selection hotkey under Features > File Search > Actions > File Selection.

 

I have set this to alt+f. I select a file in Finder, hit alt+f which shows Alfred's action panel. You can select "Open With" from there :)

 

Cheers,

Andrew

Share this post


Link to post

Oh, that's right! So easy. Thank you for the helpful response.

 

Some follow-up feedback: I have Advanced > Apps Matching set to "Full fuzzy match from word boundary". But this setting seems not to apply when I'm searching for an app via the "Open With" action. So for example, I can open PDFpen with "pp" in Alfred's normal search pane. But if select a PDF, hit alf+f, and choose "Open With", I'm not able to select PDFpen from the list by typing "pp". Furthermore, searching *within* Alfred's action panel doesn't work as I expect it to: I keep trying to select "Open With" by typing "ow", but that's also not allowed. (I actually think that my confusion over how to search the action panel and the resultant lists is why I turned off the "File Selection" action long ago, forgot about it, and had to ask here in the forums.)

Share this post


Link to post

Yes, fuzzy search for apps using "open with" works in 3.3.1. However, for me it is still not possible to access the "open with" command itself using fuzzy search "ow" (as dgbeecher also points out), and in general the action panel commands can not be accessed using fuzzy search. I find that this interrupts the logical flow of fuzzy search in Alfred. Can this be fixed?

Edited by cands

Share this post


Link to post

Alfred only applies fuzzy matching to Apps, everything else is keyword or word based throughout the rest of Alfred which is why the actions panel doesn't employ fuzzy matching. This has been by design in Alfred since the start (at a framework level), so is unlikely to change any time soon, but I'll make a note of this thread for possible considerations in the future.

 

Cheers,

Andrew

Share this post


Link to post

Sorry to revive a dead topic, but is there a way that when I'm searching for something within Alfred (my shortcut is just CMD+Space to replace Spotlight) that I can hold a modifier key, like how CMD does "reveal in Finder" to have the open with... pop up?

 

My example would be: I have .png files that I normally want to open in Preview, but every-now-and-then open in Adobe Illustrator. 

 

Thanks for the help! This thread was helpful already!! 

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...