Jump to content

Output notification query tweaks

Recommended Posts

I would really like to be able to send multiple values to the notification output.


I have an Alfred script that allows me to control Google Music via hotkey's and I can return information from Google Music to this script (ie, if I'm playing or pausing, the current artist / album / song name) which I want to display in a notification. So, for example, I can hit the appropriate hotkey, the action will be performed and a notification will appear with a title like: "<action>(Playing/Paused/Skipped/etc) <songname>" and the message would be: "<artistname> - <albumname>." Through AppleScript I can generate a notification that does this, but for various reasons I would strongly prefer to handle it through Alfred. The problem is that I only have {query} available, which makes it impossible to make the title dynamically different from the text. 


At the very least it would be nice if I could specify "Last path component" and "Remove extension" for both title and text individually, then I could at least get a little creative on my output.

Link to comment
Share on other sites

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