Re: Apple Events List
Re: Apple Events List
- Subject: Re: Apple Events List
- From: Darrin Cardani <email@hidden>
- Date: Wed, 24 Sep 2008 09:14:56 -0700
I think the bigger question here is this: What are you actually trying
to do, Frank? In general, FxPlugs are for processing images, and Apple
Events are for importing/exporting files to/from Final Cut Pro. Why
are you trying to use an FxPlug to import a file? I'm not saying it's
never valid to do so, but I'm having a hard time coming up with a good
use case that wouldn't be better solved in other ways. I suspect we
can help you find a better way to do what you want if you can give us
some more details. If you don't want to explain on a public list, you
can email us at <email@hidden>. Email sent to that list
will only be seen within Apple, and not outside.
Thanks,
Darrin
On Sep 24, 2008, at 9:06 AM, Paul Schneider wrote:
Hi all,
I can't think of any reason why this wouldn't work. And it sounds
like it does work, it just takes awhile for the event to process.
One thing you might try is to run the current event loop for a bit
after you send the event. The event won't be processed until the
app runs its event loop, and perhaps other things are happening.
Another possibility is to route the event to kCurrentProcess, rather
than to the 'KeyG' app signature. Since your plugin is running
within Final Cut, the current process is Final Cut. This should
dispatch the event immediately, rather than waiting for a trip
through the event loop. It looks like you'll have to modify the
apple_event sample code to accept a PSN rather than a four-char-code
app signature.
I believe there are tools out there to track the flow of apple
events in your application; perhaps someone with more experience
here can chime in? You might also search lists.apple.com for
someone with more Apple Event expertise.
HTH,
- Paul
On Sep 24, 2008, at 10:59 AM, Eryk Vershen wrote:
Frank,
I haven't tried to send an Apple Event from a plug-in.
It might work and it might not.
But probably not.
-eryk
On Sep 24, 2008, at 4:25 AM, frank quinn wrote:
Hi List,
I wrote to this list concerning the use of apple events with FCP
from within an FXPlug plugin but got no reply.
Could anyone tell me if this is the correct list to write to about
such matters and if it's not, what list should I write to?
Thanks,
Frank
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Pro-apps-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Pro-apps-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Pro-apps-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
--
Darrin Cardani
email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Pro-apps-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden