Re: Adobe apps crash after -[NSWorkspace launchApplication:]
Re: Adobe apps crash after -[NSWorkspace launchApplication:]
- Subject: Re: Adobe apps crash after -[NSWorkspace launchApplication:]
- From: Nir Soffer <email@hidden>
- Date: Sat, 23 Sep 2006 01:37:45 +0300
On Sep 17, 2006, at 9:10 PM, Bill Cheeseman wrote:
Is there any way to know when an application launched from -
[NSWorkspace
launchApplication:] is done launching? The -launchApplication: method
returns YES immediately, and the
NSWorkspaceDidLaunchApplicationNotification
seems to come right after the launch process starts, too.
I ask because certain Adobe applications, such as Photoshop CS2 and
Bridge,
always crash shortly after I launch them. Other apps, including
Adobe apps
such as GoLive, do not crash. I cannot debug this problem, because
when I
run my app in Debug mode even Photoshop and Bridge do not crash.
The crash is apparently happening because of some processing I'm
doing after
-launchApplication:. I suspect that I wouldn't have to track down the
problem if I could pause my app until these Adobe apps have gotten
further
along in the launch process. Is there any way to know when they're
fully up
and running?
You can tell the application to run using NSAppleScript.
Best Regards,
Nir Soffer
_______________________________________________
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