vjeantet / alerter

Send User Alert Notification on Mac OS X from the command-line.
MIT License
936 stars 62 forks source link

What do the -open, -execute and -activate options do ? #37

Closed section83 closed 3 years ago

section83 commented 3 years ago

The readme info on Alerter says:

Because of this it is important to note that you cannot combine this with options like -execute , -open , and -activate which depend on the sender of the notification to be ‘alerter’ to perform its work.

But, I can't find any detail on what -execute , -open , and -activate do. I've played with adding them to my Alerter call (e.g. -open "/System/Applications/TextEdit.app"). but nothing happens.

I can't find any reference to them in the code so, are they planned for the future ?

Thanks.

amandamana commented 3 years ago

I think this is documentation mistake. Possible an artifact of merging and diverging or sharing parts of julienXX/terminal-notifier where these flags are valid.

section83 commented 3 years ago

Yes, that seems correct.