Kebot
Kebot

Reputation: 253

How can I run my own application after another app running in Cocoa?

For example .

My app is a iTunes plugin , I want to launch it after iTunes start-up.

(Now I can run iTunes in my application use AppleScript.)

Upvotes: 0

Views: 129

Answers (1)

skercrow
skercrow

Reputation: 26

To run an executable from your application, you can use NSTask class. To run a plug-in from iTunes, you need to indicate your plug-in to iTunes and iTunes will run your application for you. Thus, you need iTunes Visual plug-ins SDK.

Upvotes: 1

Related Questions