I am trying to make a script that will login to a website automatically and play a radio player
the website is radiotime
This is the code I have so far.
I have tried several variations and none have done the trick
number 1.
property target_url : “http://radiotime.com/Login.aspx”
open location target_url
tell application “System Events”
return
end tell
This one opens the page and I have my username and password saved but the return doesn’t work ( basically I want to push the button to login on the page)
Number 2.
tell application “Camino”
activate
tell application “System Events”
keystroke “username” & tab & “password” & return
end tell
end tell
I"m not too sure how to use this one and if it will work. I"m guessing you need to declare the username and password somehow but I don’t know how to do this.
Any tips