Jump to content

[SOLVED] Show correct icons in Script Filter

Recommended Posts

Hi there,

I have a script, where the array for the JSON, which will be passed to Alfred again, looks like so:

			{"title": title,
			"subtitle": arg,
			"arg": arg,
			"icon": {
				"type": "filetype",
				"???": "???"
			} }

What do I have to fill in for the ???, so that files are shown with their correct icons? PDFs with a pdf icon, jpgs with jpg icon and so on...

Do I have to assign each individual filetype to an icon or is there a more generic way to achieve this?

Link to comment
  • vitor changed the title to [SOLVED] Show correct icons in Script Filter

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