I have a script to send me an sms message through tmobile’s website, the only problem with it is that it doesn’t work through the screen saver (which has a password). I had to do everything through IE because you need to check a checkbox on the page to submit the actual message. here is what i have, it works fine unless the screen saver is up, but the whole point is for it to run while I am away.
set the_number to "5555555555"
set the_from to "From Name"
set the_message to "My Message"
tell application "Internet Explorer"
Activate
GetURL "http://www.t-mobile.com/messaging/default.asp?nav=hm"
end tell
tell application "System Events"
tell process "Internet Explorer"
delay 10
keystroke tab
keystroke tab
keystroke tab
keystroke tab
keystroke tab
keystroke tab
keystroke tab
keystroke tab
keystroke tab
keystroke tab
keystroke tab
keystroke tab
keystroke the_number
keystroke tab
keystroke tab
keystroke the_from
keystroke tab
keystroke tab
keystroke tab
keystroke tab
keystroke the_message
keystroke tab
keystroke return
keystroke tab using shift down
keystroke tab using shift down
keystroke tab using shift down
keystroke tab using shift down
keystroke tab using shift down
keystroke return
delay 10
end tell
end tell
tell application "Internet Explorer"
quit
end tell