home *** CD-ROM | disk | FTP | other *** search
-
- NoIconPos
-
- by Sebastiano Vigna
-
- This was my first try with ARP, the AmigaDos Replacement Project
- library, that must be in your LIBS: (V39!) dir when you run
- NoIconPos. ARP gives you the power of a real DOS and much more
- (goodbye, AmigaDOS!).
-
- NoIconPos sets the do_CurrentX and the do_CurrentY field of a
- DiskObject file (i.e., a ".info" file) to the value NO_ICON_POSITION.
- When the Workbench finds such a value in a DiskObject, its icon will
- be fitted in its window at best, and deleting an icon will not
- generate "holes" in the icon disposition.
-
- The fundamental reason for which I wrote NoIconPos was the following
- problem: if you have a 704x272 Workbench screen (via MoreRows or
- ScreenSizer), every Disk icon not set on NO_ICON_POSITION will appear
- shifted to the left (if it was snapshotted on a standard Workbench
- screen). If you snapshot the icon on the correct position for a
- 704x272 pixel screen, you will get serious problems when using a
- standard screen.
-
- NoIconPos gives the final answer: Disk icons are perfectly positioned
- in every type of screen, regardless of its width. And in crowded
- directories, partial deleting will no more create holes. I never
- understood why one can't do this from Workbench.
-
-
- The syntax of the command is:
-
- NoIconPos <wildcards> [ALL]
-
- where <wildcards> can be one or more file names (like "Disk") or ARP
- wildcards (*,?,#?,[]...). DO NOT APPEND THE .INFO EXTENSION! Also,
- NoIconPos will automatically skip the ".info" (*NOT* "*.info") files
- when you use "*" or "#?", since the ".info" files generated by WB in
- every directory aren't DiskObjects.
-
- ALL will of course scan all of the subdirectories.
-
- You can stop NoIconPos while it works using the CTRL-C break sequence,
- and you can ask the syntax via the "?" argument; using "?" two times
- will give you a more complete syntax and the author's notice.
-
- You can also give NoIconPos an icon and run it from WB through
- multiple selections. Please note, however, that WB can get confused
- if you ask him to NoIconPos a Tool icon. Must he run the tool with
- NoIconPos as argument or run NoIconPos with the tool as argument?
-
- This program it's PD. Do what you want with it. Feel free to send me
- bug reports, suggestions etc.
-
-
- Sebastiano Vigna
- BIX: svigna
-
- Address:
- Sebastiano Vigna
- Via Valparaiso, 18
- 20144 MILANO Italia
-