SMS message

Liam Lambert liamlambert at mac.com
Tue Apr 17 17:28:51 EDT 2007


I want to use sms mac in an app.
see http://www.smsmac.com/en/index.html
it works great
  I want to change the message line in the apple script from a fld when
the user inputs there message any ideas


  tell application "SMS Mac Scripting"
                            set account to "john.doe at mac.com"
                            set pin to "1234"
                            set m to make new outgoing sms with  
properties {flash:false}
                            tell m
                                  set message to "Don't forget to go  
to the dry cleaner!"  --------------Message
                                  set recipients to {"+12345678900",  
"+1345678901"}
                                  set sender to "+14567890123"
                                  set delivery report to true
                                  try
                                        send
                                  on error errMsg number errNum
                                        display dialog "Error: " &  
errNum & ". " & errMsg
                                  end try
                            end tell
                      end tell
Liam Lambert
IRELAND
liamlambert at mac.com






More information about the use-livecode mailing list