Re: NSWorkspaceRecycleOperation and auto-renaming items moved to Trash
Re: NSWorkspaceRecycleOperation and auto-renaming items moved to Trash
- Subject: Re: NSWorkspaceRecycleOperation and auto-renaming items moved to Trash
- From: Ondra Cada <email@hidden>
- Date: Thu, 28 Feb 2002 17:14:13 +0100
Kurt,
>
>>>>> Kurt Revis (KR) wrote at Thu, 28 Feb 2002 06:41:07 -0800:
KR> Also (heading towards OT for this list)-- I know nothing about people
KR> writing "Finder replacements", but if they really are replacements,
KR> shouldn't they implement the same AppleEvent suites that the real Finder
KR> does?
In OS9 they probably should, since -- so far as I can tell! -- AppleScript
there is the file manager API to be used if you need something. In OSX nope
though, since there the file manager API is *NOT* an AppleScript, but the
NSWorkspace. Therefore, they should write the proper NSWorkspace category
instead.
That, of course, does not mean that they might not *want to* do it
(=implement the same AppleEvent suites that the real Finder does) to support
legacy Carbon software, plus those like you. Should I write a Finder
replacement myself, I probably would have that in my tasklist, but with
pretty low priority.
KR> So who's going to show me some actual code? Come on, you are all smart
KR> people, teach me something.
Actually, I *think* the real target one should communicate with to properly
use Trash is Dock, not Finder: presumably (and hopefully!) it's exactly what
Finder itself does. I'll try to hack it out when I'm back in OSX. Just now I
am stuck in OSXServer 1 by a big ugly WebObjects project though (whilst my
own OSX work stays, eek!).
---
Ondra Cada
OCSoftware: email@hidden
http://www.ocs.cz
2K Development: email@hidden
http://www.2kdevelopment.cz
private email@hidden
http://www.ocs.cz/oc
_______________________________________________
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.