Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!apple!nerm From: nerm@Apple.COM (Dean Yu) Newsgroups: comp.sys.mac.system Subject: Re: User definable objects in Finder 7.0 Message-ID: <52324@apple.Apple.COM> Date: 2 May 91 18:46:38 GMT References: <1991May2.115300.2662@Informatik.TU-Muenchen.DE> Organization: Apple Computer Inc., Cupertino, CA Lines: 27 In article <1991May2.115300.2662@Informatik.TU-Muenchen.DE> breidenb@Informatik.TU-Muenchen.DE (Oliver Breidenbach) writes: > >hi, > >yesterday I discovered a very interessting thing. I have an alias for resedit in >the 7.0 apple menu items folder. I accidentally dragged some file over it just >like you drag something over the trash. The resedit icon went highlited. "Oh" >i thought, "a neat feature, what happens if I 'drop' things into it?" >Guess what, Resedit opened with the given file. >I now wonder if that is a thing available to all applications, or if it is a >special resedit feature. And second, will that enable programmers to establish >things on the desktop that work like the trashcan? (e.g. for mail out boxes?) > This drop capability is a feature that an application can take advantage of. Any type that is specified by an application's 'FREF' resource can be dropped onto the application, and it will open with that document. There are special wildcard symbols to specify that an application can open any file, folder, or volume. (ResEdit uses the any file wildcard.) In answer to your second question, not really. This feature basically simulates selecting Open from the File menu. -- Dean Yu Blue Meanie, Negative Ethnic Role Model, etc. Apple Computer, Inc. My opinions and so on and so forth...