Try putting a placeholder in the script, and then using the merge()
command:
tell application "SMS Mac Scripting"
set account to "[EMAIL PROTECTED]"
set pin to "1234"
set m to make new outgoing sms with
properties {flash:false}
tell m
set message to [[tMessage]]
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
--
on mouseUp
put fld "message" into tMessage
do (merge(fld "script")) as applescript
end mouseUp
HTH,
Brian
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution