Thanks for the info! The Mac's way of doing things has always seemed a little like "Big Brother" to me. The Mac wants to keep control of everything and not let the user control stuff himself. Because here we have PCs and Macs networked together with Linux servers, sometimes files will lose their resource forks after being copied back and forth, and then they no longer have any file associations on the Macs! That's one of the major things I don't like about the MacOS . There's no easy way to restore file associations. (I like being able to tell my computer what to do, since computers aren't that smart yet...)
Charlie Fiskeaux II Media Designer The Creative Group www.cre8tivegroup.com 859/858-9054x29 ----- Original Message ----- From: "Howdy-Tzi" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, February 04, 2003 11:48 AM Subject: Re: <lingo-l> installing my application and associating files with it > On Monday, February 3, 2003, at 04:44 PM, Charlie Fiskeaux II wrote: > > > I'm trying to find out how I can associate my filetype with my > > application > > upon installation on a Mac. I've looked on the Apple developers' > > website > > and found information about bundle resources, catalog files, and > > desktop > > databases. But not having any experience in developing software for > > Mac's, > > I don't know how to use the information. How can I create an > > installer for > > my software that links my application with my filetype (so that when > > the > > user double clicks on my filetype, it will open in my application)?? > > For OSX, or 9? > > For X, I believe you set a creator/filetype flag in a plist for your > program bundle. If you're talking 9 or earlier you would change your > *projector's* resource fork's ID -- I believe it's the "creator" type > -- using ResEdit, then, whenever a file is saved by that projector you > would use something like BuddyAPI to change its filetype so it matches > your application. > > However you still have the problem of getting the projector to realize > that (when one of its special files was double-clicked) it was supposed > to open and run that file -- ordinarily it'll just run, but not > actually do anything with the chosen file. For that there's an Xtra > (whose name I've forgotten -- check the table at updatestage.com ) that > should allow your projector to read and load the file properly. > > It's not an installation step; you're thinking too Windowsish. Mac has > no "registry". Documents are associated with creator files by the > *programs* themselves. > > > Warren Ockrassa | http://www.nightwares.com/ > Director help | Free files | Sample chapters | Freelance | Consulting > Author | Director 8.5 Shockwave Studio: A Beginner's Guide > Published by Osborne/McGraw-Hill > http://shop.osborne.com/cgi-bin/osborne/0072195622.html > > [To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list, email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo. Thanks!] > [To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list, email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo. Thanks!]
