home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 35 Internet / 35-Internet.zip / wequickl.zip / wequickl.txt < prev   
Internet Message Format  |  1995-06-05  |  3KB

  1. From: Rony.Flatscher@wu-wien.ac.at
  2. Newsgroups: comp.os.os2.networking.tcp-ip,comp.os.os2.networking.www
  3. Subject: REXX-script to generate URL-objects from quicklist (WE0525)
  4. Date: 5 Jun 1995 01:35:35 GMT
  5. Distribution: world
  6. Message-ID: <3qtn17$29n@osiris.wu-wien.ac.at>
  7. Reply-To: Rony.Flatscher@wu-wien.ac.at
  8.  
  9. WE0525 introduced a very cool feature:  one can simply drags a web page to the
  10. workplace shell and an URL-object is automatically created, with a title, an
  11. editable URL and a file containing that URL (allowing for editing the URL in
  12. different places). By double-clicking on the URL-object a window pops up which 
  13. allows for editing the URL, by dragging the URL to the WebExplorer object or on 
  14. to an open instance of WebExplorer that URL gets immediately loaded.
  15.  
  16. Ever since then I wished to have a utility to transfer my very large quicklist
  17. from previous versions to those nice URL-objects, so I would be able to arrange
  18. them the way I want by means of WPS folders, sorting, defining links (shadows)
  19. etc.
  20.  
  21. As no one so far was able to tell the setup-string necessary for the workplace
  22. shell I started to play around with REXX and the SysCreateObject function and
  23. found a way to do exactly what I wanted: to create URL-objects from REXX.
  24.  
  25. It may be possible that some others also like the new URL-object feature of
  26. WE0525, so I enclose the REXX-script to this file, so it becomes possible to you
  27. to have your quicklist available as URL-objects.  
  28.  
  29. You would need to save the REXX-program starting right after the first
  30. "cut-here" message as "wequickl.cmd" (as for "WebExplorer Quicklist"; the first
  31. line *must* start with the opening REXX-comment "/*" as this tells the OS/2
  32. command interpreter that this file contains a REXX program).  
  33.  
  34. Thereafter open any OS/2 window and run the REXX-program by typing "wequickl" at
  35. the prompt.  The script will automatically create a folder named "WEB Quicklist
  36. Folder" on the desktop and place all quicklist-entries as URL-objects into it.
  37. If you ever repeat this script URL-objects already in this folder won't be
  38. recreated (unless your move those URL-objects to other folders *or* rename the
  39. title).
  40.  
  41. Please remember, it is OS/2 Warp's object orientation which makes it feasible
  42. for object greenhorns like myself to even dare to write such a REXX-script which
  43. employs WPS objects.  As you see it works and is not even difficult.  I
  44. commented the code so REXX "illegibles" (no insults intended :)  ) should be
  45. able to grasp the logic.
  46.  
  47. Good luck.
  48.  
  49. ---rony
  50.