Re: Logging in all the computers for the little ones.
Re: Logging in all the computers for the little ones.
- Subject: Re: Logging in all the computers for the little ones.
- From: "John C. Welch" <email@hidden>
- Date: Tue, 08 Nov 2005 06:27:11 -0600
- Thread-topic: Logging in all the computers for the little ones.
On 11/8/05 01:15, "Jay Louvion" <email@hidden> wrote:
>> 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, I¹ve given it a try here and I must notice that keytroke scripting does
> seem kinda edgy. In my events window, the typing is fine, but as to what
> actually gets typed, well... sometimes it¹s just a letter that¹s dropped out,
> but othertimes, the whole text of my script gets selected, then replaced with
> the remainder of characters . Running the script from the SE, obviously.
>
> I don¹t understand why the script you were given uses one way of doing it once
> (keystroke loginUser) and then another (repeat in characters). Which we both
> tested here and are both unstable.
>
> Would someone with an apple email care to comment on keystroke scripting ?
> Chris ? Dave ?
Why even bother with this password silliness for kids that young? Use the
picture selections instead of the username and password fields, and no
password for their accounts. Much simpler.
--
"Again, in basic training we had been forbidden to say please or thank you,
as such words implied the existence of kindness, benevolence, or charity."
- Mouthful of Rocks, by Christian Jennings, about Foreign Legion boot camp.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden