site_archiver@lists.apple.com Delivered-To: pro-apps-dev@lists.apple.com Thanks, Darrin On Sep 24, 2008, at 9:06 AM, Paul Schneider wrote: Hi all, 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, Thanks, Frank _______________________________________________ Do not post admin requests to the list. They will be ignored. Pro-apps-dev mailing list (Pro-apps-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/pro-apps-dev/evershen%40apple.com _______________________________________________ Do not post admin requests to the list. They will be ignored. Pro-apps-dev mailing list (Pro-apps-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/pro-apps-dev/pschneider%40apple.com _______________________________________________ Do not post admin requests to the list. They will be ignored. Pro-apps-dev mailing list (Pro-apps-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/pro-apps-dev/dcardani%40apple.com -- Darrin Cardani dcardani@apple.com _______________________________________________ Do not post admin requests to the list. They will be ignored. Pro-apps-dev mailing list (Pro-apps-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/pro-apps-dev/site_archiver%40lists.ap... 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 <proappsdk@group.apple.com>. Email sent to that list will only be seen within Apple, and not outside. 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. 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? This email sent to evershen@apple.com This email sent to pschneider@apple.com This email sent to dcardani@apple.com This email sent to site_archiver@lists.apple.com