On Fri, 24 Sep 2010 00:42:06 +0300, eveningnick eveningnick <[email protected]> said: >I have written an application, that interacts with another >"stranger"-program by Applescript. The problem is that i need my >application to look like a plugin for "stranger program"- to display a
I've written several applications that behave like this, but the user voluntarily runs them (even if it's launched as a login item and is just invisible because it's a background app). I don't think users would like automatic (involuntary) launch. To know when my target app is launched / frontmost I use Carbon Events. As you say, NSWorkspace may now supply this functionality, but it didn't at the time. m. -- matt neuburg, phd = [email protected], <http://www.tidbits.com/matt/> A fool + a tool + an autorelease pool = cool! AppleScript: the Definitive Guide - Second Edition! http://www.apeth.net/matt/default.html#applescriptthings _______________________________________________ Cocoa-dev mailing list ([email protected]) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [email protected]
