FROM : Steve Sheets
DATE : Thu Nov 25 17:06:03 2004
Matt,
I should have shown examples. You need the name alone, no service
before it:
G_SendIM_iChat(@"<email_removed>", @"Testing");
Steve
On Nov 25, 2004, at 7:02 AM, Matt Gough wrote:
>
> On Nov 25, 2004, at 6:33 am, Steve Sheets wrote:
>
>> To help celebrate, and give back to this community, here are two
>> procedures that use AEBuild command to automate sending Instant
>> Messages (IMs) to iChat or AIM (America Online Instant Messenger). I
>> was originally using NSAppleScript to run Applescripts that I create
>> on the fly to do this, but using AEBuildAppleEvent is better. Note
>> that the old code is still in the procedures, but commented out (I
>> include it for reference). I highly recommend Script Debugger 3.0
>> from Late Night software, if you are trying to create AEBuild
>> commands. It has a log window that displays any script as it runs in
>> AEBuild format.
>>
>
> Couldn't get this working :(
>
> I tried calling it as follows:
>
> G_SendIM_iChat(@"AIM:<email_removed>", @"testing");
>
> and nothing happened (anErr was noErr)
>
> Am I being dumb?
>
> Matt Gough
DATE : Thu Nov 25 17:06:03 2004
Matt,
I should have shown examples. You need the name alone, no service
before it:
G_SendIM_iChat(@"<email_removed>", @"Testing");
Steve
On Nov 25, 2004, at 7:02 AM, Matt Gough wrote:
>
> On Nov 25, 2004, at 6:33 am, Steve Sheets wrote:
>
>> To help celebrate, and give back to this community, here are two
>> procedures that use AEBuild command to automate sending Instant
>> Messages (IMs) to iChat or AIM (America Online Instant Messenger). I
>> was originally using NSAppleScript to run Applescripts that I create
>> on the fly to do this, but using AEBuildAppleEvent is better. Note
>> that the old code is still in the procedures, but commented out (I
>> include it for reference). I highly recommend Script Debugger 3.0
>> from Late Night software, if you are trying to create AEBuild
>> commands. It has a log window that displays any script as it runs in
>> AEBuild format.
>>
>
> Couldn't get this working :(
>
> I tried calling it as follows:
>
> G_SendIM_iChat(@"AIM:<email_removed>", @"testing");
>
> and nothing happened (anErr was noErr)
>
> Am I being dumb?
>
> Matt Gough
| Related mails | Author | Date |
|---|---|---|
| Steve Sheets | Nov 25, 07:33 | |
| Matt Gough | Nov 25, 13:02 | |
| Steve Sheets | Nov 25, 17:06 |






Cocoa mail archive

