Re: Apple Events in Cocoa
Re: Apple Events in Cocoa
- Subject: Re: Apple Events in Cocoa
- From: Matt Neuburg <email@hidden>
- Date: Tue, 28 May 2002 04:55:17 -0700
On Mon, 27 May 2002 01:31:17 -0500, Mark Hatton
<email@hidden> said:
>
to restart the Finder after I kill it with a similar method. No matter
>
what event code I try, I can not wake the Finder
The Finder is not asleep, so you can't wake it - it isn't running at all.
So 'MACS' can't target it; it is not among the running processes. To target
an application that isn't running, you must use a different targeting
method.
However, I don't see why you need to use Apple events here. You know where
the Finder is, so why not just launch it (e.g. using NSWorkspace)?
>
I think my problem is with the AESend(), but i can't find the docs
/Carbon/interapplicationcomm/AppleEventManager/Apple_Event_Manager/
m.
--
matt neuburg, phd = email@hidden,
http://www.tidbits.com/matt
pantes gar anthropoi tou eidenai oregontai phusei
Subscribe to TidBITS! It's free and smart.
http://www.tidbits.com/
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.