spkr25

Help to rewrite an applescript to run it from Filemaker12

Discussion created by spkr25 on Jul 9, 2013
Latest reply on Jul 9, 2013 by Mike_Mitchell

Hi,

 

I am new to Filemaker, I have a business of lending money and I would like to use the skype sms text capabilities to thank our clients for their payments. I found a great applescript that does exactly that. It works well when I run it using the applescritp editor. However I have not been able to make it work using Filemaker12.

 

The following is the script:

 

"tell application "Skype"¶" &

" set message to send command "CREATE SMS OUTGOING" & Direccion::Mobile Personal & script name "SMS"¶" &

" set smsid to item 2 of every word of message "¶" &

" send command " SET SMS " smsid " BODY Great scritp but no results " script name "SMS"¶" &

" set result to send command " ALTER SMS" smsid " SEND " script name "SMS"¶" &

"end tell¶"

 

The following is the original script:

 

tell application "Skype"

set message to send command " CREATE SMS OUTGOING +8XXXX855711 " script name "SMS"

set smsid to item 2 of every word of message

send command " SET SMS " & smsid & " BODY Great scritp but no results" script name "SMS"

set result to send command " ALTER SMS " & smsid & " SEND " script name "SMS"

end tell

 

In advance thank you for your help.

 

Alberto J

Outcomes