| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
I'm a tech coordinator in 3 elementary schools. When the littlest ones arrive logging into the OS 10.3.9 Server on a 10.2.8 workstation takes forever. They can't spell very well, they don't know where all the keys are, and one error and they are back to square one. An Apple System Engineer gave me the code below that I can put into ARD and log the machines in under a generic guest user and it will supposedly run in ARD and log every kid in. It has a problem in that it doesn't work. Can anyone see why not? The code is:
osascript <<EOF
set logInUser to "kid" set logInPassword to "kidpassword"
tell application "System Events" tell application process "loginwindow" -- Really, I am not sure if I need all these delays, but it seemed to help keystroke logInUser delay 1 keystroke tab delay 1 repeat with aChar in characters of logInPassword keystroke aChar delay 0.2 end repeat
keystroke return end tell end tell
Well it's rife with race conditions for a start. --
-dhan
------------------------------------------------------------------------ Dan Shoop AIM: iWiring Systems & Networks Architect http://www.iwiring.net/ email@hidden http://www.ustsvs.com/
pgp key fingerprint: FAC0 9434 B5A5 24A8 D0AF 12B1 7840 3BE7 3736 DE0B
iWiring provides systems and networks support for Mac OS X, unix, and Open Source application technologies at affordable rates. _______________________________________________ Do not post admin requests to the list. They will be ignored. Macos-x-server mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/macos-x-server/email@hidden
| References: | |
| >Logging in all the computers for the little ones. (From: "email@hidden" <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
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.