Jump to content

Find the icon of an Application for an item


Recommended Posts

Hello,

 

for my Airfoil Workflow (http://www.alfredforum.com/topic/1991-airfoil-speaker-source-selection/) I'm looking for a way to use the icon of an application as icon for my "Source Selection"-item. I just have the name of the application as string.

 

Anyone with an idea how to do that?

 

Thanks in advance,

 

jan

 

Well, if the workflow was modified, you could make it say.. "if the source is Airfoil, make the result show the file icon for Airfoil". You can do this by modifying the output xml to be:

<icon type="fileicon">/Applications/Airfoil.app</icon>

 

or whatever you path is. That will tell it to show the icon of that app.

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