Skip to main content
Solved

Adding a title to jamf displayMessage


Forum|alt.badge.img+12
  • Contributor
  • 222 replies

Is it currently possible to add a message within the title bar of the jamf displayMessage command?
I would really like to be able to put the school name in the titlebar to let users know who the message is from, currently I am adding an extra line to the message, but I don't really like that way of doing it, I feel a title bar would be much nicer.

If it's not currently available, is there a feature request for it? I couldn't see one.
If not, I will create one.

Best answer by bmodesitt

You could use jamfHelper

There's some more discussion on this here

Alternatively, you could just create an AppleScript that displays a dialog before and/or after policy execution.

View original
Did this topic help you find an answer to your question?

4 replies

Forum|alt.badge.img+5
  • New Contributor
  • 6 replies
  • Answer
  • June 11, 2015

You could use jamfHelper

There's some more discussion on this here

Alternatively, you could just create an AppleScript that displays a dialog before and/or after policy execution.


Forum|alt.badge.img+12
  • Author
  • Contributor
  • 222 replies
  • June 11, 2015

@bmodesitt Hmm, I wasn't aware of jamfHelper, though I am not a huge fan of the appearance of the window, I prefer that of the displayMessage command, it's more 'Apple'

But I suppose if it does what I need, then I can't complain.


  • 0 replies
  • June 11, 2015

There's also terminal-notifier or Yo.


mm2270
Forum|alt.badge.img+16
  • Legendary Contributor
  • 7880 replies
  • June 11, 2015

I found out from someone else that you can also call the built in Management Action.app directly and control the text and title in a script. Although its not as customizable as the other tools, it also doesn't have the same issue that terminal-notifier often has where you need to call it as the user with launchctl bsexec to get it to show up.

/Library/Application Support/JAMF/bin/Management Action.app/Contents/MacOS/Management Action -title "School IT" -subtitle "Your attention is required" -message "This is a message"

Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings