BenjaminO Posted September 10, 2023 Posted September 10, 2023 (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 September 10, 2023 by BenjaminO
vitor Posted September 10, 2023 Posted September 10, 2023 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.
BenjaminO Posted September 10, 2023 Author Posted September 10, 2023 @vitor I have tested but not working on my side.
vitor Posted September 11, 2023 Posted September 11, 2023 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.
BenjaminO Posted September 11, 2023 Author Posted September 11, 2023 @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. 😉
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now