Re: Cocoa and Apple Event
Re: Cocoa and Apple Event
- Subject: Re: Cocoa and Apple Event
- From: Michael Ellis <email@hidden>
- Date: Thu, 28 Jul 2005 13:30:38 -0400
Hello, Francesca.
I've written Cocoa applications that communicate using Apple events,
so I appreciate your situation. For very basic inter-application
communication, you can use generated AppleScripts and the "osascript"
UNIX executable command. However, if you need to extract detailed
information from the target application, you will have to do what I
did: you will need to wrap Carbon AppleEvent functions and data
structures in your own Cocoa classes. It took me about a week to do
this.
I cannot release my own code, as it was developed for a commercial
application. However, you can at least take some comfort in knowing
which direction to head.
Hope this helps...
-Mike Ellis
On Jul 28, 2005, at 1:19 PM, email@hidden wrote:
Hallo,
I'm newbie, but I'm developing a simple application in cocoa-
objectiveC.
I need to interact with other applications, so I'm using AppleScript
in my Cocoa app to communicate with other application and retrieve
data from them.
But,
now I need to implement the inverse process.
I have to send data from an application (like filemaker) and perform
an action in my cocoa app.
I have to make scriptable my app?
Or can I only create an apple event and use it?
I don't need to make scriptable my app, but only perform some action
(by me).
Can you help me???
THnaks
=========================
Michael F. Ellis
President
Ellis Softworks Inc.
----------
Phone: (941) 713-0361
Email: email@hidden
Web: http://www.ellissoftworks.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