Skip to content

Send Applescript Commands from the JSS

Jason Tratta edited this page May 4, 2016 · 4 revisions

You will need to target the user running ProgressScreen in order for a script to properly work. Here is an example:

#!/bin/sh

user=`stat -f%Su /dev/console`
sudo -u $user /usr/bin/osascript <<TimeComplete

tell application "ProgressScreen"
set buildTime of every configuration to 840
end tell 

TimeComplete
Clone this wiki locally