I have about 50 carts of Macbooks I'm trying to image and configure over the summer, one of the steps I wanted to add was a script that loged in the user in and run some scripts.
Here is part of the script that is not working with Casper Remote:
osascript <<EndOfMyScript
tell application "System Events"
keystroke "username"
keystroke return
delay 0.5
keystroke "password"
delay 0.5
keystroke return
end tell
EndOfMyScript
I can get it working if I deploy it locally or with Apple Remote Desktop but if I deploy it with Casper Remote it always gives me the same error.
Script Result: 43:65: execution error: An error of type -10810 has occurred. (-10810)
Anyone ever have this issue? I just want to automate some of the configuration so I can save some time.
Thank you,
Josh