I need some help with some scripting that I'm doing:
I'm using Applescript to download stuff from Google Docs without actually having to click anything within the browser. I need to know what script to use to log in. This is essentially what I have so far:
tell application "Safari"
set the URL of tab 1 of window 1 to "https://www.google.com/accounts/Service...
set "username" of "https://www.google.com/accounts/Service... to the text returned of (display dialog "Username?" default answer "Login")
end tell
I need help since the web page won't let me log in, since I don't know what variable (username, etc.) to use. How do I do this? If you know a more efficient script in Perl, Python, or Ruby, that would help, too....
Tags: