Jump to content

Post Notification always shows notification even when 'query' is empty


Recommended Posts

Hi,

 

I have the problem that Alfred always shows the notification even when 'query' is empty. The notification is connected with an script action. When I want to show a notification, I print the message I want to show at the end of the script. When I don't want to show the message, I print "" or just use no print at all. But the notification still shows up even thought he option 'Only show if...' is enabled and the {query} really seems to be empty (I can see that in the content of the notification). 

 

Any ideas?

Link to comment

Hi,

 

I have the problem that Alfred always shows the notification even when 'query' is empty. The notification is connected with an script action. When I want to show a notification, I print the message I want to show at the end of the script. When I don't want to show the message, I print "" or just use no print at all. But the notification still shows up even thought he option 'Only show if...' is enabled and the {query} really seems to be empty (I can see that in the content of the notification). 

 

Any ideas?

 

Just don't do print "". Don't include any form of output.

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