Re: Can I Send Apple Events in Cocoa?
Re: Can I Send Apple Events in Cocoa?
- Subject: Re: Can I Send Apple Events in Cocoa?
- From: Kaydell Leavitt <email@hidden>
- Date: Wed, 14 Dec 2005 09:13:07 -0800 (PST)
Thanks,
I think that my motivation to send the Apple Events,
to make sure that the event goes to the right app, is
not necessary, but can I process a reply Apple Event?
Also, I read in "Cocoa Programming" that as of 10.1.3
that Apple Events were not fully supported. Has this
changed. We're targeting 10.4.3 and up.
Maybe this isn't an issue given that I can use
embedded Apple Script and that I can call anything in
the Carbon framework.
But, is there a nice object-oriented Cocoa/Objective-C
solution?
-- Kaydell
--- Annard Brouwer <email@hidden> wrote:
>
Take a look at these webpages for a relatively fast
>
way to achieve
>
what you want.
>
>
Unsanity.org: Lazy AppleScript Sending
>
<http://www.unsanity.org/
>
archives/000107.php>
>
AEBuild*, AEPrint* and Friends
>
<http://developer.apple.com/technotes/
>
tn/tn2045.html>
>
>
It's much faster than fiddling with lots of
>
invocations of C code!
>
>
Annard
>
>
On 12 Dec 2005, at 08:19, Kaydell Leavitt wrote:
>
> The following Apple Script is really what I need,
>
but
>
> with the additional ability to specify an app if
>
two
>
> or more copies are running.
>
>
>
> tell application "Inventory Client"
>
> activate
>
> «event InvARTMT»
>
> end tell
>
>
>
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden