This is an improved version of mingione’s txtdrop script.
set npa1 to text returned of (display dialog "area code" default answer "530" buttons {"Ok"} default button 1)
set exchange1 to text returned of (display dialog "first 3 digits" default answer "739" buttons {"Ok"} default button 1)
set phone1 to text returned of (display dialog "last 4 digits" default answer "XXXX" buttons {"Ok"} default button 1)
set email1 to text returned of (display dialog "YourFULL phone@vtext.com or email" default answer "1530739XXXX@vtext.com or youremail@yahoo.com.com" buttons {"Ok"} default button 1)
repeat
set message1 to text returned of (display dialog "message" default answer "--message <= to 160 characters" buttons {"Ok"} default button 1)
set npa to npa1 --area code
set exchange to exchange1 --first 3 digits
set phone_number to phone1 --last 4 digits
set email to email1 --reply address
set message to message1 --message <= to 160 characters
--url encode the message
set URLencodedMessage to (do shell script "/usr/bin/python -c 'import sys, urllib; print urllib.quote(sys.argv[1])' " & quoted form of message)
--send SMS through txtdrop.com
do shell script "curl -d \"npa=\"" & npa & "\"&exchange=\"" & exchange & "\"&number=\"" & phone_number & "\"&email=\"" & email & "\"&body=\"" & URLencodedMessage & "\"&submitted=1\" [url=http://www.txtdrop.com/widget_send.php]http://www.txtdrop.com/widget_send.php"[/url]
delay 10
display dialog "Send another/Reply" buttons {"Yes", "No"} default button 1
if the button returned of the result is "Yes" then
else
exit repeat
end if
end repeat
say "goodbye" using "bruce"
I save it as an application bundle and placed it in my dock. It is VERY useful I have given it to my whole family who aren’t fast texters with their phone.
vtext.com is the server for emails through verizon if you use a different carrier look up their email->mobile server name.