Garry Pettet
Garry Pettet

Reputation: 8288

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 message 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?

Upvotes: 0

Views: 583

Answers (1)

Asmus
Asmus

Reputation: 5247

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")

Upvotes: 1

Related Questions