home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / os / os2 / misc / 37319 < prev    next >
Encoding:
Text File  |  1992-11-21  |  2.5 KB  |  56 lines

  1. Newsgroups: comp.os.os2.misc
  2. Path: sparky!uunet!usc!sol.ctr.columbia.edu!destroyer!cs.ubc.ca!unixg.ubc.ca!kakwa.ucs.ualberta.ca!access.usask.ca!mizar.cc.umanitoba.ca!news!buhr
  3. From: buhr@umanitoba.ca (Kevin Andrew Buhr)
  4. Subject: Re: Random Problems and some Qs
  5. In-Reply-To: guidry@casbah.acns.nwu.edu's message of Tue, 17 Nov 1992 18:44:36 GMT
  6. Message-ID: <BUHR.92Nov21194026@ccu.umanitoba.ca>
  7. Sender: news@ccu.umanitoba.ca
  8. Nntp-Posting-Host: ccu.umanitoba.ca
  9. Organization: University of Manitoba, Canada
  10. References: <1992Nov17.184436.5499@news.acns.nwu.edu>
  11. Date: Sun, 22 Nov 1992 01:40:26 GMT
  12. Lines: 42
  13.  
  14. In article <1992Nov17.184436.5499@news.acns.nwu.edu>
  15. guidry@casbah.acns.nwu.edu (David Guidry) writes:
  16. >  I created an indestructible folder by <ALT>dragging a folder template from
  17. >  the templates folder . . .
  18. >  What do I have to do to destroy this folder?
  19.  
  20. First, try dragging it to the shredder while holding the SHIFT key
  21. down.  This works on my extra templates.
  22.  
  23. If that doesn't work, open the settings for the folder template, and
  24. unclick the "Template" check box (I think it's on the "General" page).
  25. Now, your folder *should be* a regular folder.  Hopefully, it'll be
  26. deletable.
  27.  
  28. If it is *still* not deletable, you have encountered a known problem
  29. supposedly fixed by the Service Pack.  The best way to get rid of it
  30. is to drag it to the "Drive C" icon, then open a DOS or OS/2 window
  31. and remove it as if it were a regular (empty) directory with the
  32. "RMDIR" command.
  33.  
  34. >  How can I add drag-and-drop functionality to a program object?  Such as, I
  35. >  have a document that I want to open in Word Perfect.  I want to just grab
  36. >  the file and drag it onto the WP program object and have WP start up with
  37. >  the file as an argument.
  38.  
  39. The Workplace Shell provides drag-and-drop support for all non-OS/2
  40. programs that support datafile names on the command line.  Try
  41. dragging a WordPerfect file to the program object.  It should work
  42. automatically.
  43.  
  44. >  Can I also add drag-and-drop-and-query functionality in order to have
  45. >  something like an UNZIP.EXE program object and drag a zip file onto the
  46. >  unzip object and have the system query for the working directory (the place
  47. >  it will hopefully unzip the zipfile into).  I know I can eliminate the drag
  48. >  and drop portion of this by making .zip a special extension.
  49.  
  50. Your best bet is to make a REXX script that prompts for a working
  51. directory and then runs UNZIP on its parameter.  If you create a
  52. program object that points to this script, dragging the ZIP file to it
  53. will run your script in an OS/2 window.
  54.  
  55. Kevin Buhr <buhr@ccu.UManitoba.CA>
  56.