ExeSMS for MAC

All other technical assistance queries (General technical issues, IPv6. P2P, News groups, etc)
Post Reply
unoimgr8st
Posts: 16
Joined: Thu Jun 04, 2009 1:08 pm
Location: burwood

ExeSMS for MAC

Post by unoimgr8st » Wed Jun 10, 2009 11:54 am

Is there any software to send SMS from mac, just like the one for windows PCexeSMS.exe

User avatar
Dazzled
Volunteer Site Admin
Posts: 5998
Joined: Mon Nov 13, 2006 1:16 pm
Location: Sydney

Re: ExeSMS for MAC

Post by Dazzled » Wed Jun 10, 2009 1:09 pm


aleclangford
Posts: 32
Joined: Thu Mar 18, 2010 7:50 am
Location: Canberra

Re: ExeSMS for MAC

Post by aleclangford » Thu Mar 18, 2010 9:06 am

as soon as I find my tKinter reference I'll be writting a copmpletely opensource/cross platform GUI for the SMS API I just hope no-one beats me to it :P

edit: in python

User avatar
Dazzled
Volunteer Site Admin
Posts: 5998
Joined: Mon Nov 13, 2006 1:16 pm
Location: Sydney

Re: ExeSMS for MAC

Post by Dazzled » Thu Mar 18, 2010 11:12 am

It will be a nice change from Java bloat. It's been done with GtkBuilder. I think quite a few users have shell script (bash etc) versions from various comments in the forum.
http://infohost.nmt.edu/tcc/help/pubs/t ... kinter.pdf

aleclangford
Posts: 32
Joined: Thu Mar 18, 2010 7:50 am
Location: Canberra

Re: ExeSMS for MAC

Post by aleclangford » Thu Mar 18, 2010 11:41 am

yeah I have a py script which I use from shell, atm it only does single SMSs but it won't take much to fix that.
I have been reading that tKinter guide but there is something in my reference that I'm trying to do but can't atm.(it's a hard copy propietry reference).
I'm not writing the GUI for me cos personally I prefer the simplicity of the python script.
but I know older users who would love me to write them a gui

mjaxtens
Posts: 1
Joined: Wed Aug 27, 2008 6:08 pm
Location: Geelong

Re: ExeSMS for MAC

Post by mjaxtens » Sat Jun 05, 2010 3:35 pm

This applescript, saved as an application is clunky and sends api password in the clear but it works. Maybe someone cleverer than me can fix it up a bit and post it here! Obviously you need to set up an API username and password on the exetel site first.
Add your frequently texted addresses to the runListString. The CAPITALS show the entries you need to modify. It takes the first 10 characters as the destination phone number, so won't work for international numbers. It also ends with an annoying error "can't get end" which I don't know how to remove. Any suggestions and modifications appreciated. I would prefer a sequential reference number too, but didn't know how to code it. (seems to work anyway with the arbitrary 000002)

set runList to {}
set runListString to "MOBILENUMBER1 PERSON1,MOBILENUMBER2 PERSON2" as string
set savedTextItemDelimiters to AppleScript's text item delimiters
set AppleScript's text item delimiters to {","}


set runList to (text items of runListString & ("Other ..." as list))

try
set themess to ""
set destph to ¬
(choose from list runList with prompt ¬
"Choose destination mobile number" default items (first item of runList) ¬
OK button name ¬
"Choose") as string
set destph to text returned of ¬
(display dialog "This is the recipient.. are you sure?" default answer destph)
on error
return "User cancelled"
end try
set themess to ""
display dialog "Enter Message" default answer ""
set themess to text returned of the result
display dialog "To " & destph & "---> " & themess & " --->OK to send?"
set URL1 to ""
set AppleScript's text item delimiters to {""}
set destph to characters 1 through 10 of destph as string
set URL1 to "https://www.exetel.com.au/sendsms/api_s ... ilenumber=" & destph & "&message=" & themess & "&sender=YOURMOBILENUMBER&messagetype=Text&referencenumber=000002" as text
tell application "Safari" to activate
delay 2
tell application "Safari" to open location URL1
tell application "Safari"
get properties of window 1
set TheMessage to name of document 1 of application "Safari" as string
delay 2
close window 1
end tell

Post Reply