Path: csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!news.bbs-scene.org!macgui.com!gastacara From: gastacara@macgui.com (Cliff Huylebroeck) Newsgroups: comp.sys.mac.programmer.help Subject: Re: My own file copy and empty trash in OS 9.2.2 Date: Fri, 9 Dec 2011 18:52:49 +0000 (UTC) Organization: Mac GUI Lines: 32 Message-ID: References: <051220111336100354%nospam@nospam.invalid> <071220111531042156%nospam@nospam.invalid> NNTP-Posting-Host: gunshin.wiredns.net Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: news.bbs-scene.org 1323456769 29793 74.119.145.48 (9 Dec 2011 18:52:49 GMT) X-Complaints-To: abuse@bbs-scene.org NNTP-Posting-Date: Fri, 9 Dec 2011 18:52:49 +0000 (UTC) User-Agent: Mac GUI City Usenet Posting Xref: x330-a1.tempe.blueboxinc.net comp.sys.mac.programmer.help:97 nospam wrote: > In article , Cliff Huylebroeck > wrote: > >> > it's definitely possible to intercept it, but it requires patching a >> > bunch of traps and is not at all straightforward. >> >> Is it possible to intercept it with AppleScript, >> for example a system-wide AppleEvent handler? > > no. you need to patch traps, and probably quite a few of them. consider > an alternate solution. Rewriting the whole Finder? I don't know: - the complete list of tasks that is done by the Finder, - how to draw on the desktop, - the meaning of the folder view flags. What I can certainly do better is fast drawing and scrolling of windows with many items. I can easily scroll a window with one million items while using almost no processor time. The Finder behaves oddly when I try to display 40,000 items. I can improve that, and also copying and emptying the trash. I would also use normal menus instead of the Mercutio MDEF. I would use plug-ins for the commands, so they can be easily replaced. I would use a task window like in Puppy Linux. If you want to do something, then a task is added to the list. When your task list is complete then you click "Start". Then the tasks are done one after the other, instead of simultaneously like the current Finder does.