Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Local network messaging using AppleScript' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Local network messaging using AppleScript
Authored by: Frederico on Feb 19, '05 11:11:19PM

Just a reminder from my earlier post: there is no need to run to another machine to launch iChat/email; as I pointed out, this would actually be a legitimate use of Remote Apple Events. IOW, you want to text message your buddy on the fifth floor, but his icon in iChat shows him offline; he has previously given you blanket permission to do so, so you remotely launch iChat and log him in on his machine so that he can then accept your message. If he's not there, your AppleScript dialog would fail just as readily.

Which also brings up another point: Without a dialog timeout (giving up after n), you may very well lock up some process on his machine if he is not there to dismiss it, and your own script engine will lockup until the default timeout, as well.

Again, I stress that with the exception of a very controlled environment (Yelling out: "Hey, Dave, I want to send you a text message, are you there and ready to accept it?" "Why don't you just tell me then?"), this script and its execution is going to be very problematic, and all the solutions you apply are already built into the installed system software. Why reinvent the wheel, except to show it can be done?

I'm all for people getting turned on to AppleScript, so if this hint serves that purpose, alone, more power to the OP.

Cheers



[ Reply to This | # ]