Re: Invoke another program on button click
Re: Invoke another program on button click
- Subject: Re: Invoke another program on button click
- From: Shawn Erickson <email@hidden>
- Date: Wed, 17 Mar 2004 22:43:58 -0800
On Mar 17, 2004, at 10:06 PM, Rahul Verma wrote:
HI all..
Can some one tell me how to invoke another program(Itunes) installed
on my
machine on a button click in my applications, using XCode ??
This isn't a question so much about xcode and a general development
question. I would ask on one of the Mac OS X development lists. For
example <http://www.lists.apple.com/mailman/listinfo/cocoa-dev> if you
are talking about using Cocoa for the above.
Anyway assuming Cocoa... create a AppKit based project in XCode, layout
your interface in Interface Builder, etc. and consider using
NSWorkspace's launchApplication: method or possibly an AppleScript run
programmatically (NSAppleScript). The above isn't fully clear on what
you mean by invoke, just launch it, start it playing something, etc. so
it is hard answer your question.
-Shawn
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.