home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 337.lha / NoIconPos.doc < prev    next >
Text File  |  1990-01-26  |  2KB  |  63 lines

  1.  
  2.                               NoIconPos
  3.  
  4.                          by Sebastiano Vigna
  5.  
  6. This was my first try with ARP, the AmigaDos Replacement Project
  7. library, that must be in your LIBS:  (V39!) dir when you run
  8. NoIconPos.  ARP gives you the power of a real DOS and much more
  9. (goodbye, AmigaDOS!).
  10.  
  11. NoIconPos sets the do_CurrentX and the do_CurrentY field of a
  12. DiskObject file (i.e., a ".info" file) to the value NO_ICON_POSITION.
  13. When the Workbench finds such a value in a DiskObject, its icon will
  14. be fitted in its window at best, and deleting an icon will not
  15. generate "holes" in the icon disposition.
  16.  
  17. The fundamental reason for which I wrote NoIconPos was the following
  18. problem:  if you have a 704x272 Workbench screen (via MoreRows or
  19. ScreenSizer), every Disk icon not set on NO_ICON_POSITION will appear
  20. shifted to the left (if it was snapshotted on a standard Workbench
  21. screen).  If you snapshot the icon on the correct position for a
  22. 704x272 pixel screen, you will get serious problems when using a
  23. standard screen.
  24.  
  25. NoIconPos gives the final answer:  Disk icons are perfectly positioned
  26. in every type of screen, regardless of its width.  And in crowded
  27. directories, partial deleting will no more create holes.  I never
  28. understood why one can't do this from Workbench.
  29.  
  30.  
  31. The syntax of the command is:
  32.  
  33.         NoIconPos <wildcards> [ALL]
  34.  
  35. where <wildcards> can be one or more file names (like "Disk") or ARP
  36. wildcards (*,?,#?,[]...).  DO NOT APPEND THE .INFO EXTENSION!  Also,
  37. NoIconPos will automatically skip the ".info" (*NOT* "*.info") files
  38. when you use "*" or "#?", since the ".info" files generated by WB in
  39. every directory aren't DiskObjects.
  40.  
  41. ALL will of course scan all of the subdirectories.
  42.  
  43. You can stop NoIconPos while it works using the CTRL-C break sequence,
  44. and you can ask the syntax via the "?" argument; using "?" two times
  45. will give you a more complete syntax and the author's notice.
  46.  
  47. You can also give NoIconPos an icon and run it from WB through
  48. multiple selections.  Please note, however, that WB can get confused
  49. if you ask him to NoIconPos a Tool icon.  Must he run the tool with
  50. NoIconPos as argument or run NoIconPos with the tool as argument?
  51.  
  52. This program it's PD.  Do what you want with it.  Feel free to send me
  53. bug reports, suggestions etc.
  54.  
  55.  
  56.                                          Sebastiano Vigna
  57.                                          BIX: svigna
  58.  
  59. Address:
  60. Sebastiano Vigna
  61. Via Valparaiso, 18
  62. 20144 MILANO Italia
  63.