Jump to content

Showing Script filter icon at the top right of Alfred's window


Recommended Posts

Alfred 5.1.3 [2174]

 

Bit of an odd question, but I noticed today that when Script Filters are triggered via a Hotkey, they appear with the workflow's icon at the top right, like this:

 

image.thumb.png.f107da6aa17259b8197f384ff7c29411.png

 

But, the same Script Filter, triggered via its own keyword, is missing the icon (or shows Alfred's hat if configured in Theme settings)

 

screenshot_LWL2kr7i.thumb.png.c36d09e7f7fa4632642f6cf1ebb81b97.png

 

I was wondering if this was intentional, and is there any way to manually control whether the icon appears or not in the Script Filter configuration itself? It would be nice to actually have it display the icon in certain cases.

 

Link to comment

@luckman212 when trigging a script filter directly, that script filter is unique to Alfred (i.e. the only thing running / showing). You'll also notice this if you wire a Keyword into a Script Filter, you'll see the same Script Filter icon on the right.

 

When in the default results, depending on context, Alfred could be showing results from multiple sources / workflows.

 

Cheers,

Andrew

Link to comment
On 9/25/2023 at 2:58 PM, luckman212 said:

I was wondering if this was intentional, and is there any way to manually control whether the icon appears or not in the Script Filter configuration itself?

 

You have some control over it with the Script Filter's "Inbound Configuration".

image.png.0b79c91893fc9401c0298e0c9a3e27af.png

 

If set to Keyword, the icon will not show when the workflow is activated with a shortcut or an external trigger. 

To always show the icon, you could have a dedicated Keyword object feeding into the script filter.

image.png.edd7f77b847e91c20a5e9455db19c5c4.png

 

Link to comment

That's cool @zeitlings but then you have the type <keyword> + press <enter>... not quite as smooth as having the keyword directly activate the script filter and immediately show results.

 

I wish there was something like a "Don't show Alfred's default results" checkbox available on Script Filter objects, that would also enable this exclusive output mode.

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