valid property

bool valid
final

valid : true | false (optional, default = false)

If this item is valid or not. If an item is valid then Alfred will action this item when the user presses return. If the item is not valid, Alfred will do nothing. This allows you to intelligently prevent Alfred from actioning a result based on the current {query} passed into your script. If you exclude the valid attribute, Alfred assumes that your item is valid.

Implementation

final bool valid;