Re: To make an application start everytime when another program starts
Re: To make an application start everytime when another program starts
- Subject: Re: To make an application start everytime when another program starts
- From: Matt Neuburg <email@hidden>
- Date: Fri, 24 Sep 2010 08:11:32 -0700
- Thread-topic: To make an application start everytime when another program starts
On Fri, 24 Sep 2010 00:42:06 +0300, eveningnick eveningnick
<email@hidden> 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@hidden, <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@hidden)
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:
This email sent to email@hidden