• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Logging in all the computers for the little ones.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Logging in all the computers for the little ones.


  • Subject: Logging in all the computers for the little ones.
  • From: Jay Louvion <email@hidden>
  • Date: Tue, 08 Nov 2005 08:15:43 +0100

Title: Logging in all the computers for the little ones.

On 7/11/05 19:41, "email@hidden" <email@hidden> wrote:

> To:email@hidden
> CC:
> BCC:
> Subject:Logging in all the computers for the little ones.
>
>  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 ?

TIA,

J.

Jay Louvion
Studio Casagrande
3, rue Müller-Brun
1208 Geneva

T+4122 840 3272
F+4122 840 3271

skypeme:
jaylouvion

www.studiocasagrande.com

 _______________________________________________
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

  • Follow-Ups:
    • Re: Logging in all the computers for the little ones.
      • From: Deivy Petrescu <email@hidden>
    • Re: Logging in all the computers for the little ones.
      • From: "John C. Welch" <email@hidden>
References: 
 >(no subject) (From: "email@hidden" <email@hidden>)

  • Prev by Date: Re: how to get the name of the current handler
  • Next by Date: Re: Editable?
  • Previous by thread: (no subject)
  • Next by thread: Re: Logging in all the computers for the little ones.
  • Index(es):
    • Date
    • Thread