Jump to content
leonherrmann

Image/HTML as output of a workflow

Recommended Posts

Hello,

 

while I love the ease of use of alfred and the great workflows created by the community, there is one thing missing for me to make Alfred perfect. It would be cool it were possible to output html or an image when a user presses enter on an item. This would be great for showing information on the web like wikipedia, imdb or wolfram alpha. It would also enable output that is more visually pleasing than plain old text output.

I know that the not longer maintained Flashlight (https://github.com/nate-parrott/Flashlight) had this feature. 

 

Cheers

Leon :D

Share this post


Link to post
Share on other sites

Hi Leon. Welcome to the forums.

 

3 hours ago, leonherrmann said:

It would be cool it were possible to output html or an image when a user presses enter on an item

 

What do you mean by "output" exactly? It's possible to stuff basically anything you want into an item's data.

Share this post


Link to post
Share on other sites

With output I mean a similar behavior as showing contacts or showing the contexts of a folder. My idea would be that you have a workflow for wikipedia as an example but instead of opening a web browser a new view (like the contacts one) opens with the mobile version of the particular wikipedia article. 

 

I hope that clarified things. If not please ask more questions.

 

P.S.: I'm new to creating workflows in Alfred. I just experimented a bit with simple workflows.

Share this post


Link to post
Share on other sites

You can’t display images or webpages in Alfred, but you can hit SHIFT or CMD+Y on a result to preview it in Quicklook (if it’s a URL or file).

 

Share this post


Link to post
Share on other sites

You can also call Quicklook on the command-line with qlmanage -p <filepath>, so you can make it your item action.

 

If that's not acceptable, could you describe more precisely what you're suggesting?

Share this post


Link to post
Share on other sites

While this trick sounds interesting, I would imagine a more integrated way of showing the output of some workflow directly in Alfred. I made a quick mockup of what I would imagine it looking. The idea is that you can show (generated) images or as in the attached example websites directly in Alfred. This would be especially useful if you just want to look up something quickly. 

Untitled.jpg

Share this post


Link to post
Share on other sites

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

×