Hey all,
Trying to find a way to have jamf helper post a message that has clickable links. Perhaps one of the buttons could be set to go to that link. If not I could always push a link to their desktop and just have them double click it, but I'd rather it be inline.
Gabe Shackney
Princeton Public Schools
#!/bin/bash
# Determine OS version
osvers=$(sw_vers -productVersion | awk -F. '{print $2}')
dialog="Thank you for being a part of the Mobile Access Program!
Please click on this link http://mylink.com to compete a brief technology usage survey.
Signed,
Gabe Shackney
Technology Office
Princeton Public Schools"
description=`echo "$dialog"`
button1="OK"
jamfHelper="/Library/Application Support/JAMF/bin/jamfHelper.app/Contents/MacOS/jamfHelper"
icon="/System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/AlertNoteIcon.icns"
if [[ ${osvers} -lt 7 ]]; then
"$jamfHelper" -windowType utility -description "$description" -button1 "$button1" -icon "$icon"
fi
if [[ ${osvers} -ge 7 ]]; then
jamf displayMessage -message "$dialog"
fi
exit 0