autologin in HTML/Flash page

Discussion in 'Mac Programming' started by aldorande, Apr 2, 2010.

  1. aldorande macrumors member

    Joined:
    Dec 1, 2009
    #1
    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?
     
  2. aldorande thread starter macrumors member

    Joined:
    Dec 1, 2009
    #2
    any update? do you know if AppleScript interact with a Flash form?
    Note: I don't think I can just use an other language to modify the source.
     

Share This Page