Jump to content

Modify the title of alfred result with mods


Recommended Posts

Posted (edited)

Hello folks,

 

I remarked that from this documentation, it is not mentioned whether mods can alter the 'title' property or not (https://www.alfredapp.com/help/workflows/inputs/script-filter/json).

 

Quote

The mod element gives you control over how the modifier keys react. It can alter the looks of a result (e.g. subtitle, icon) and output a different arg or session variables.

 

Is this intentional ? It would make more sense to have the possibility to modify it IMHO.

Edited by BenjaminO
  • BenjaminO changed the title to Modify the title of alfred result with mods
Posted

Have you tested? You should be able to change anything but changing titles is quite atypical so the example shows what’s relevant most of the time.

Posted

I didn’t think of other keys which wouldn’t make sense to change, such as the UID. The title is indeed not changeable, which is by design. mods works like editing a connection, which can also only change the subtitle.

Posted

@vitor indeed, mods are used mostly to modify the subtitle, icon path, arg and/or the valid statement. However, I have some edge cases where it can be nice to change the title. I don't have the full picture of what it implies in term of development and if it is worth to modify compare to the demand but just wanted to point that out. 😉 

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