Re: Launch another app without losing focus
Re: Launch another app without losing focus
- Subject: Re: Launch another app without losing focus
- From: Michael Hall <email@hidden>
- Date: Tue, 13 Jun 2006 09:06:38 -0500
On Jun 13, 2006, at 8:58 AM, Ryan Britton wrote:
Is there any reason you can't use the launch option
NSWorkspaceLaunchWithoutActivation?
Combine it with this: http://developer.apple.com/documentation/
Cocoa/Reference/ApplicationKit/Classes/NSWorkspace_Class/Reference/
Reference.html#//apple_ref/occ/instm/NSWorkspace/
launchAppWithBundleIdentifier:options:additionalEventParamDescriptor:l
aunchIdentifier:
This
NSWorkspaceLaunchWithoutActivation = 0x00000200,
looks to be the same as...
kLSLaunchDontSwitch = 0x00000200, /* don't bring new app
to the foreground.*/
I tried this,
SignatureToApp.kLSLaunchDefaults | SignatureToApp.kLSLaunchDontSwitch
unsuccessfully, but some combination might work, or Cocoa might do it
more correctly.
Mike Hall mikehall at spacestar dot net
http://www.spacestar.net/users/mikehall
http://sourceforge.net/projects/macnative
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden