[futurebasic] Re: [FB] Application creator list

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : July 2000 : Group Archive : Group : All Groups

From: Lars Gafvert <gafvert@...>
Date: Thu, 27 Jul 2000 22:14:32 +0200

Charlie Dickman wrote:

>
> Lars,
>
> I have done some work with the DTDB (with considerable help from this
> venerable list, Inside Macintosh and some examples that I scrounged from
> sources long since forgotten) in FB2 but have not been able to get anything
> to work in FB^3 (not for lack of trying ;-).
>

I have ported the PBDT parts of the files.h header and all the Desktop manager
calls I've tried so far work well, if you want it I can send you a copy of the
header file. (to Charlie)

>  I would think you could do what you want to do by studying the
> DTDB Manager chapter of IM:More Macintosh Toolbox (see PBDTGetAPPL).

Well, Yes, I thought so at first too, but to my surprise, I've only found routines
to get information regarding applications by specifying their signature. I was
looking for something that would find all applications associated with a certain
filetype. Then pass "APPL" to it and hopefully get a list of all applications. But
so far I haven't found anything.


MattBeedle@... wrote:

> If the desktop data base isn't your groove, you could scan the entire drive
> for AAPLs and all. I know there was a FB example that listed every file on a
> drive, and you could run the below on it, also probably get more stuff like
> the icon ect...
>

Well, I suppose it would be my last resort. The problem with this solution is
simply that it's too slow, I want to get the applications each startup so it's way
too slow. And icons are no problem, infact I think that the Desktop manager is the
only way of getting the icon associated with an application (but then again, I
might be wrong).

The alternative I have to doing this is to maintain a standard creator list, the
drawback being of course that it won't find new applications on the computer.

Any other ideas?

/Lars Gafvert