I am trying to create an Apple Script auto-login for a Flash form, contained in an HTML page The following script is working to login to yahoo mail. Code: tell application "Safari" activate open location "http://mail.yahoo.com" delay 5 tell application "System Events" to keystroke "user" & tab & "pass" & return end tell is there a way to get it to work with my Flash application form? Basically I can call the Flash app through a HTML Page. The flash app contains 2 fields, one for the user and one for the password, and an OK button. How should I modify the script so it input the credentials in the Flash form? I am able to open the Flash page in replacing the open location line with the local path but then?? Anybody has an idea?