Is it possible to use exclamation messages in jamfHelper messages? The message I would like to create would say something like:
Heading:
Howdy Partner!
Description:
A multi-line message goes here. It contains apostrophes, like this: ' so I can't easily use single quotes to contain the description!
I had hoped the code below would work, but alas, the exclamation marks are breaking the formatting. And, if I escape the exclamation marks, the backslashes wind up in the dialog. See attached images for reference.
Anybody have experience with the proper way to format/escape this?
Thanks!
JAMFHELPER="/Library/Application Support/JAMF/bin/jamfHelper.app/Contents/MacOS/jamfHelper"
"$JAMFHELPER"
-windowType hud
-lockHUD
-heading "Howdy Partner!"
-description "A multi-line message goes here.
It contains apostrophes, like this: '
so I can't easily use single quotes to contain the description!"
-button1 "Okay"
-defaultButton 1
-startlaunchd