Search code examples
objective-cmacossilverlight-oob

Executing Silverlight app from another mac desktop application


Is it possible to execute silverlight application from mac desktop application developed using Objective - C. i.e.

Mac desktop app using Objective-C -> User clicks on some button -> Silverlight application should get launched.

Actually what I think is but don't know whether it is correct or not :

" If silverlight is installed locally on your machine,it act as an separate application & from one application we can execute another application by calling its .app file "

Thanx in advanced.


Solution

  • You can use [[NSWorkspace sharedWorkspace] launchApplication:@"MySilverlightApp"];

    Theres several calls on NSWorkspace to do this , thats the most simple of them.