Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!gatech!purdue!iuvax!valnet!joseph From: joseph@valnet.UUCP (Joseph P. Hillenburg) Newsgroups: comp.sys.amiga Subject: Re: Why is everyone bitching about Workbench Message-ID: Date: 30 Oct 90 21:00:57 GMT References: <15446@cbmvax.commodore.com> Organization: Valley BBS Network Lines: 43 ken@cbmvax.commodore.com (Ken Farinsky - CATS) writes: > In article <1990Oct26.202218.23039@cunixf.cc.columbia.edu> es1@cunixb.cc.colu > >In article <29244@pasteur.Berkeley.EDU> navas@cory.Berkeley.EDU writes: > >> > >>And as an author of YAWBR (Jazzbench), I wouldn't mind putting in a few of > >>my own: > >> 4. No access to devices like prt: par: ser: pipe:, etc. > >> > > It would be TRIVIAL to create an icon that would copy the > >file. Under 2.0 you can open a window or an icon which will > >recognize when an icon is dropped on it...Use AppIcon and do it! > > This kind-of assumes a very simple file structure (can you say ASCII?). > You could make your program more complicated and have it handle IFF files, > but what would you do with word processor data files, 3-D objects, > postscript, and the like? What happens when you copy a SMUS file to ser:? > This all works only if you have very simple data files or a very smart > program. > -- > -- > Ken Farinsky - CATS - (215) 431-9421 - Commodore Business Machines > uucp: ken@cbmvax.commodore.com or ...{uunet,rutgers}!cbmvax!ken > bix: kfarinsky It's simple. Have the icon for each file have something that says like this in the tooltype PRINTER=DRIVE:PATH/TO/PROGRAM The path is the path to a driver that explains how toprint that particular file type. The program that handles the printer icon reffers to that driver to have it help handle the file. You might want to make the driver as a shared library, like iffprint.library, asciiprint.librarty, smusprint.library. smusprint.library wouldn't print the song as binary, but interpret it and print out the notes, and hwat instrument was used, etc. -Joseph Hillenburg UUCP: ...iuvax!valnet!joseph ARPA: valnet!joseph@iuvax.cs.indiana.edu INET: joseph@valnet.UUCP