开发者

How to send a string from an Apple script

I code in REALbasic.

Whenever I receive an IM via iChat, iChat runs an applescript and sends to it the last message received. I need to somehow forward this mes开发者_C百科sage as a string to the app I'm writing in REALbasic. REALbasic is able to respond to AppleEvents but I don't now how to implement this or if I'm even in the right ball park.

Any advice?


Unfortunately I haven´t used RB in ages, but maybe the following link (just a quick google) might be a starting point?

http://www.106automation.com/page2/RB/RB.html

(the link to download the example files is actually the title of the page, so click "REALBasic & Applescript")

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜