简体   繁体   中英

Resend an apple event to other process from 'main'


Application not running. A plugin send file(s) to application to open its. Application perform 'application:openFiles:' method. In 'main.m' of this application running another process via '[NSTask launchedTaskWithLaunchPath:arguments:]'. Can anyone tell me, how to perform 'application:openFiles:' in second process with same parameters, because second process don't known about sended files to open.
Maybe there another way to make this thing?

您在寻找-[NSWorkspace openFile:withApplication:]吗?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM