osx - How to open external application and run specific function of that application in Objective-c -


i new mac developer , want following things:

  1. i created simple application, , want click button in application open external application located on mac (like open disk utility) (i know how part using launchapplication)

  2. besides open application, want execute specific functions (like erase function in disk utility) automatically after open disk utility application. (i have no idea how this) possible show me demos new in mac ?

thanks !!

the external application should scriptable application.

a scriptable application 1 makes operations , data available in response applescript messages, called apple events. apple event kind of interprocess message can specify complex operations , data. apple events make possible encapsulate high-level task in single package can passed across process boundaries, performed, , responded reply event.

you can find more details in related apple documentation: cocoa scripting guide


Comments

Popular posts from this blog

linux - Does gcc have any options to add version info in ELF binary file? -

android - send complex objects as post php java -

charts - What graph/dashboard product is facebook using in Dashboard: PUE & WUE -