Hi!
I searched on the Internet (including here, the first place I searched) and try to guess for almost 6 hours what will be the “secret magic AppleScript code” I need to send a file to someone. For your information, for me "send “text”, “send audio invitation” and “send video invitation” work but, because Apple said nothing about how to do it, I needed to guess and only “send file” don’t work.
Here is what I have and don’t work:
tell application "iChat"
activate
send file of "test" of startup disk to (a reference to account id "Rendezvous:test@My Mac")
end tell
Or
tell application "iChat"
activate
send document file of "Macintosh HD:test" to (a reference to account id "Rendezvous:test@My Mac")
end tell
If someone can help me and guide me in the right direction this will be very appreciate!
Thank you very much in advance for your answer!