Custom MacOS notifications

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Posted on 02-20-2020 11:36 AM
Does anyone have any insight into how I could create customized MacOS notifications? For instance, the notifications that pop up telling you to update your system, but a custom one telling a user they're eligible for an upgrade with an option to contact IT or ignore.
Is this something that sounds possible? Thanks!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Posted on 02-20-2020 02:03 PM
yo notifier - I use this, works pretty well. compile with xcode if you want to do your own branding
terminal-notifier - another popular option

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Posted on 02-20-2020 02:35 PM
I've used Yo in the past also and it works well. I may have some old scripts around that were designed to send a custom message, icons and so on to Yo and have it display a notification.
Keep in mind that under 10.15 now, your message may not automatically pop up without the user approving it, as per this thread. You could always create a profile using some of the methods on that thread to pre-approve it, at least until Jamf fully bakes that profile payload into the product.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Posted on 02-20-2020 02:36 PM
If you're running things in a script, you can call the Apple notifications with the code below:
osascript -e 'display notification "Installing Microsoft Silverlight" with title "DEP - Configuration"'
I use this to display notifications to our technicians when our app installation script is running.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Posted on 02-20-2020 05:30 PM
You should be able to create a policy with out any payloads...
- Set the trigger to re-occurring check in
- Frequency can be ongoing (which will continuously pop up each check in) OR once per computer
- Then in the policy, select the "User Interaction" tab
- fill out your start message (kind of like the subject line in an email)
- Complete Message (fill out what the message is)
Then scope it to your machines... which the message will pop up as a 'Management Action' notification at the top right corner of your client machines.
Hope this helps!
