Use icon from file in Inverted Syntax Extension

Hi @nick , is there a way to use .ico or .png as icon of the extension when using inverted index for creating extensions? I mostly use iconify but running out icon choices to distinguish extensions :slightly_frowning_face:

// # popclip extension for Things
// name: Things Read Later
// icon: file:things_icon.png
// requirements: ["urls"]
// lang: js
const query = encodeURIComponent(popclip.input.text);
popclip.openUrl("alfred://runtrigger/com.alfredapp.anr.things/readlaterthings/?argument=" + query);

PS: I know there is a Things extension already, this is a custom version for my use case. Also might be useful to share how can I understand built those complex extensions.

@nick can I get your help please :blush:

HI @andy4222

Using a file is pretty easy but can’t be done with a snippet alone. Make a folder and put thethings_icon.png file in there and add a text file called Config.js containing the snippet text. Name the folder WhateverYouWant.popclipext and then double-click the folder to install.

1 Like