[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: To the author of EasyOpen
In article <RWIFALL.93Apr24123216@dante.nmsu.edu>, Richard J Wifall writes...
>
> In article <1993Apr24.062608.4697@nuscc.nus.sg> ltchean@iss.nus.sg (Lim Thye Chean) writes:
>
> [Stuff about EasyOpen nuked]
>
> This would not by an easy thing to do. Lets assume my program was going
> to do that. First it would have to read through the whole icons folder
> looking for a match, then when it found a match it would have to load in
> the icon and save it as a rbundle matched by name to the alias.
You can't "ask" the Finder to pass back an rIcon or rBundle
structure for a particular file? The Manager is able to at least match
icons (without too much difficulty, it seems) for the applications it
opens for placement in the TM menu.
> >2. Let user drags the files into the alias folder.
>
> I'm not sure that this is possible, but I'll look into it.
Hmmm... this sounds rather difficult. The Finder won't highlight
any icon other than a folder when another icon is dragged over top of
it. There isn't a 'finderSaysIconDropped' message to help out out. The
alias itself would have to be type DIR, possibly with a different
auxtype ($0003, perhaps? I don't think that's taken). Then EasyOpen
will have to somehow intercept the Finder from performing the requested
action and moving/copying the files to the original folder rather than
into the alias.