Alt hot key option and sending selected item to Alfred

I am trying to move from LaunchBar to Alfred with Powerpack.

One of the features I immediately miss from LaunchBar is “Instant Send” where I can press a key (Alt, in my case) and then the current selected item (text or image or file or folder or whatever) is immediately sent to LaunchBar ready to be passed on to other apps or ready for one of its context menu items.

Alfred can send files and folders but not text.

I tried creating a simple macro in Keyboard Maestro that would copy the selected text then press Cmd + Space and paste.

My questions are:

  1. Is there a way to set macro trigger key to double tap of Alt key? I only see Tab, Return, Enter, Space and Escape.

  2. Is there a better way to send the selected item (text or file or folder or anything else) to Alfred using KM?

The answer to your first question is "no", but the answer to your second is "yes". Here's a simple macro I use myself to approximate LaunchBar's Instant Send with Alfred:

Search Selected Text in Alfred.kmmacros (2.1 KB)

Incidentally, I run LaunchBar and Alfred with Powerpack simultaneously, and enjoy both for different reasons, and I'd suggest that you don't need to completely abandon the former just to take advantage of the benefits of the latter :slightly_smiling_face:

1 Like

Thanks.

Since creating the topic, I've discovered that Alfred comes built-in with an example workflow called "Show Alfred with selected text" which is exactly what I am looking for.

The reason I am moving away from LaunchBar is it's becoming quite slow to launch. Alfred, like Spotlight, feels so zippy.

1 Like

So it does! I never found this sample workflow before, since it was buried in (what I consider to be) the misleadingly named "templates" section. Thanks for the tip! If you haven't already discovered this yourself, you'll be glad to know that invoking Alfred with the current selection this way even allows for the Alt key double-tap option you asked about in your first question:

Can you please tell me how I set that?

I am clicking inside the Hotkey field and pressing Alt key fast two times in succession, but it's not getting registered.

I'm afraid I don't know what to tell you: that's exactly what I did, and it worked fine for me, even with LaunchBar running at the same time. In the meantime, I tried exporting the workflow I set up that way, so maybe you can import it and get it working that way:

Show Alfred with selected text.alfredworkflow.zip (1.3 KB)

I imported and the hotkey field is blank. I’ll post in Alfred forum about this.

Thanks for your help.