Comparing different 'the launching Cocoa app with parameters' methods

前端 未结 2 1539
攒了一身酷
攒了一身酷 2021-01-03 07:11

I found there are at least three ways to launch an app with Mac OS X from an application.

  1. NSTask. I can give parameters, but it seems that it\'s not for an Coc
2条回答
  •  醉梦人生
    2021-01-03 07:48

    By using Scripting Bridge, you can use the method activate to launch a cocoa app. See: Scripting Bridge.

提交回复
热议问题