Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!linus!philabs!cmcl2!seismo!rochester!rocksanne!sunybcs!kitty!baylor!peter From: peter@baylor.UUCP (Peter da Silva) Newsgroups: net.micro.amiga Subject: Re: Re: AmigaDos w/o Directory in AmigaDos Message-ID: <653@baylor.UUCP> Date: Thu, 15-May-86 02:49:35 EDT Article-I.D.: baylor.653 Posted: Thu May 15 02:49:35 1986 Date-Received: Sun, 18-May-86 12:28:15 EDT References: <327@ethz.UUCP> <219@cbmvax.cbmvax.cbm.UUCP> Organization: The Power Elite, Houston, TX Lines: 29 > The implementation of the OPEN operation in various programs > does not require that all files in a directory be listed before > selecting a file. This feature is a result of how the programmer > has written the code. It would be just as easy for the program > to have a menu option that lets you either OPEN (with a resultant > list of all files) or OPEN AS which then requests the user for a > filename. Actually neither OPEN nor OPEN AS are appropriate for a window-oriented user interface. What you need to be able to do is grab a file from the workbench and drop it into the program window. You should also be able to pick up a file and drop it into a program icon to start the program with that icon as "input". To do this you would need only (only?) add a new message "new file" to go along with "resize" and other windowing messages. When the program gets that message it can put up a requestor asking whether you really mean to discard the old file (presuming it can only deal with one file at a time) if there is one and then open the new one. This would also provide a hell of an incentive for people who write software for this beast to write well-behaved workbench programs (at least they'd have to open one window in the WB even if they used their own screen) instead of PC-ware. How about it, C=Amiga? -- -- Peter da Silva -- UUCP: ...!shell!{baylor,graffiti}!peter; MCI: PDASILVA; CIS: 70216,1076