home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!gatech!prism!gt1610c
- From: gt1610c@prism.gatech.EDU (Michael Kenneth McGaugh)
- Newsgroups: comp.os.os2.apps
- Subject: Re: Drag and Drop Compression
- Message-ID: <78650@hydra.gatech.EDU>
- Date: 20 Dec 92 19:13:05 GMT
- References: <1992Dec19.234613.12909@waikato.ac.nz> <BzIptG.D2n@ucunix.san.uc.edu>
- Organization: Georgia Institute of Technology
- Lines: 30
-
- In article <BzIptG.D2n@ucunix.san.uc.edu> kreinddm@ucunix.san.uc.edu (David M Kreindler) writes:
- >I called IBM Tech Support the other day, and asked 'em to tell me how an
- >app could be set up to accept multiple files via the drag-n'-drop method
- >from the desktop. I was told that it's a 'program design issue': i.e.,
- >if you want to be able to drag multiple files to a single application,
- >and have the application run (as a single invocation of the program) on
- >the bunch of files passed, you have to *write* the program that way --
- >there's no way to set up the WPS to pass multiple arguments to a single
- >program by the drag'n'drop method if it wasn't designed as such from
- >scratch. FYI.
-
- Could someone write a small program (WPS/SOM aware) to accept multiple
- files being dropped onto it, and then pass all of these to any arbitrary
- app such as zip. I once tried something similar with REXX. If n files
- were dropped onto the program object for this REXX script, n instances
- of this script would start. However, the first one would open up a
- system wide queue, and the others would know that they were not the first
- one since the queue would already exist. They would each write there
- argument to the queue, and then the first one would pass all of these
- arguments to zip. I never got it working write since timing was a
- problem. Perhaps it would have been easier with named pipes, but I
- have no experience with named pipes.
-
- Ken.
-
- --
- M. Ken McGaugh
- Georgia Institute of Technology, Atlanta Georgia, 30332
- uucp: ...!{decvax,hplabs,ncar,purdue,rutgers}!gatech!prism!gt1610c
- Internet: gt1610c@prism.gatech.edu
-