I am trying to run the application in the background without activating it. I just have this method on NSWorkspace to run it in the background:
[[NSWorkspace sharedWorkspace] launchAppWithBundleIdentifier:bundleID options:(NSWorkspaceLaunchWithoutActivation | NSWorkspaceLaunchAllowingClassicStartup) additionalEventParamDescriptor:nil launchIdentifier:NULL];
The only problem is that it does not activate the application, but it switches the space to the designated space of this application. Any way to avoid this?
gcamp source share