Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Remote GUI login via Apple Remote Desktop' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Remote GUI login via Apple Remote Desktop
Authored by: osso on Feb 06, '07 03:27:03PM

I had this trouble too and have spent hours and hours on this. I finally got the command to work with 5 returns at the end. I actually had to run the command twice. I am not a programmer but I couldn't find anyone that had cleaner code and who cares it runs.



osascript <<EndOfMyScript
tell application "System Events"
keystroke "USERNAME"
keystroke tab
delay 0.5
keystroke "PASSWORD"
delay 0.5
keystroke return
keystroke tab
delay 0.5
keystroke "PASSWORD"
delay 0.5
keystroke return
keystroke return
keystroke return
keystroke return
keystroke return
end tell
EndOfMyScript


I hope that helps because I signed up with Mac OS X hints just to let you know what I found.



[ Reply to This | # ]