Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Login Scripts



"Tim McCarthey" <email@hidden> on Friday, January 27, 2006
at 10:12 AM -0500 wrote:
>Does anyone have a script that when sent out through ARD, will login all
>of the selected computers in to which ever local account is specified in
>the script?

osascript -e 'tell application "System Events" to keystroke "LOGIN_NAME"'; \
osascript -e 'tell application "System Events" to keystroke tab'; \ <<< this
one causes the password slot to open up>>>
osascript -e 'tell application "System Events" to delay 0.5'; \
osascript -e 'tell application "System Events" to keystroke "PASSWORDHERE"'; \
osascript -e 'tell application "System Events" to delay 0.5'; \
osascript -e 'tell application "System Events" to keystroke return'

'    '   '  ' ' ' ''"""""""""""'' ' '  '   '    '
Steven Kolins
Alamance-Burlington NC USA, Mac Systems Tech 
mailto:email@hidden
http://homepage.mac.com/smkolins
Possess a pure, kindly and radiant heart! 
They that observe lying vanities forsake their own mercy.

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Client-management mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/client-management/email@hidden

This email sent to email@hidden

References: 
 >Login Scripts (From: "Tim McCarthey" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.