TA - ARD Command to Auto Login

If your login looks like this and you are using "student":


Inline image 1




Use this Script and run command as root:




osascript -e 'tell application "System Events" to keystroke "student"'; \

osascript -e 'tell application "System Events" to keystroke return'

osascript -e 'tell application "System Events" to delay 0.5'; \

osascript -e 'tell application "System Events" to keystroke "student"'; \

osascript -e 'tell application "System Events" to delay 0.5'; \

osascript -e 'tell application "System Events" to keystroke return'







If your login looks like this and you are using "student":




Inline image 2





Use this Script and run command as root:


osascript -e 'tell application "System Events" to keystroke "student"'; \

osascript -e 'tell application "System Events" to keystroke tab'; \

osascript -e 'tell application "System Events" to delay 0.5'; \

osascript -e 'tell application "System Events" to keystroke "student"'; \

osascript -e 'tell application "System Events" to delay 0.5'; \

osascript -e 'tell application "System Events" to keystroke return'




If you are using "guest" adjust accordingly.




If you'd like to auto launch the app after all machines have logged in, use this script and run command as Current console user on target computer:




open /Applications/Online\ Assessment/Online\ Assessment.app



Created by Travis Penn 1/27/14

 I found this article helpful. (0)

 

Leave a Response