_mk_ Posted April 15, 2013 Posted April 15, 2013 I have a script filter that shows detailed information of an OmniFocus task. I would like to add trigger actions based on the information that was selected and the modifier key that was pressed. So for example selecting the project would result in the following actions: NO MODIFIER: list tasks of project ALT: change project Selecting the context would trigger the equivalent actions for the context. Currently, Alfred only allows to specify an alternate subtitle per modifier key with no regard to the selected result. I would suggest to extend this functionality to override the "global" modifier subtitle on item level: <items> <item uid="myuid" arg="myarg"> <title>My title</title> <subtitle>My default subtitle</subtitle> <icon>icon.png</icon> <alt>My subtitle when pressing ALT</alt> <cmd>My subtitle when pressing COMMAND</cmd> <ctrl>My subtitle when pressing CONTROL</ctrl> <fn>My subtitle when pressing FN</fn> </item> </items> This would allow for more flexibility when using modifier keys. Tyler Eich 1
Andrew Posted April 15, 2013 Posted April 15, 2013 While this is quite a nice idea, it doesn't quite conceptually fit with Alfred workflows as the actual action performed is defined by the connection out of the script input and the action, not the input. While this conceptual separation may not seem important now, it will do more in the future. I'll have a think about how to best address this.
_mk_ Posted April 15, 2013 Author Posted April 15, 2013 If it is tied to the connection, I could imagine to define the alternate text at the connection based on the arg of the item or maybe its uid.
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