Different Document Types

Dan Friedman dan at clearvisiontech.com
Sat Jan 4 21:03:01 EST 2003


Igor,

On the Mac, use resEdit to create a res file with a "BNDL" resource.  In the
BNDL, create an entry for each of your document types (you will need to
create the icons too - ic18, ic14, ics8, ics4, ics#, ICN#).  You will also
have to create the "FREF" resource (but I think resEdit will create this for
you).   Then, copy the 6 resources to your standalone (you can also have the
standalone builder in RR do it for you - that's what I do).

For the PC, create the ICO files for your icons - any "ico" producing
program or utility will do.  Then you have to edit the registry so that the
host computer (the one running your application) knows about them.  When it
comes to working with Window's registry file, I am a total moron!  So, I
have my installer do it.  I use Install Shield Express -- MUCH easier way to
go.  :)  Although, you will have to buy Install Shield - but for me, that's
easier (and better) than messing with the registry file on each PC I install
on!  Also, with Install Shield, my users get the familiar uninstaller in the
Add/Remove programs control panel.

Hope that helps.

Dan.


> I have an application which will produce 2 different types of documents
> - I've already registered the creator and document types with Apple.
> Now I need some instructions as to how to assign ICONS to my
> application and to my 2 document types (both on Mac and Windows), so
> that the system will display all files produced my by application with
> the appropriate icon!
> 
> Could some of the experts that inhabit the list shed some light?




More information about the use-livecode mailing list