site_archiver@lists.apple.com Delivered-To: pro-apps-dev@lists.apple.com 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/site_archiver%40lists.ap... 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 site_archiver@lists.apple.com
participants (1)
-
Paul Schneider