Just something I was playing around with.
Usage:
- Code: Select all
sublime.run_command("notify", {"title": "ST2 Message", "message": "Hello World!"})
Gist:
https://gist.github.com/3260439
sublime.run_command("notify", {"title": "ST2 Message", "message": "Hello World!"})Usage: terminal-notifier -[message|remove] [VALUE|ID] [options]
Either of these is required:
-message VALUE The notification message.
-remove ID Removes a notification with the specified ‘group’ ID.
Optional:
-title VALUE The notification title. Defaults to ‘Terminal’.
-group ID A string which identifies the group the notifications belong to.
Old notifications with the same ID will be removed.
-activate ID The bundle identifier of the application to activate when the user clicks the notification.
-open URL The URL of a resource to open when the user clicks the notification.
-execute COMMAND A shell command to perform when the user clicks the notification.
When the user activates a notification, the results are logged to the system logs.
Use Console.app to view these logs.Return to Plugin Announcements
Users browsing this forum: No registered users and 5 guests