ScrinkWrap1.0 This program has been released into the public domain. It may not be sold or distributed in whole or in part for profit in any way without an express written consent from Tony Solomon. This program and all relating files may be freely distributed by any means providing this program has not been altered in any way. Disclaimer: This program is presented on an 'as is' basis. I make no guarantees for its suitability for any purpose whatsoever. I cannot be held responsible for any damages resulting from it's use, reuse, misuse, or abuse (Whew). ScrinkWrap © copyright 1987...Tony Solomon. What is ScrinkWrap? ScrinkWrap is a program which allows you to resize any WINDOW (not screen) regardless of its status, size etc. As long as you know the windows name, it may be resized! After receiving FACCI, (great program Perry! FACCII's even better), I didn't like having the window around, (read noticeable), all the time. So I thought it would be nice to just resize it so small it would be less noticeable. Well I was just learning "C" at the time and was very busy so the project was canned, (anyway AUTOFACC did a nice job). Recently I had a similar problem come up where I wanted to get rid of a window with no sizing gadget, hence ScrinkWrap. Originally ScrinkWrap just scrunk the AmigaDOS window down to 1X1 just like a similar program called Tiny. I thought it would be fun to resize any window (not a very nice thing to do but fun anyway), so ScrinkWrap grew to where it is today. Great so how do I use it. I'm glad you asked. ScrinkWrap is pretty easy to use, the following is a brief rundown of its syntax: ScrinkWrap - Will look for the window named 'AmigaDOS' and scrink it to 1X1. Great for Workbench users who want a CLI around! To use it just click in the upper left-hand corner of the screen, and then type your command. You may also go to the upper left-hand corner and drag the window open again! ScrinkWrap - This will run through the list of active windows and write them to the screen, providing the letter you use is not a current window title. ScrinkWrap New - Will look for the window titled 'New', (note upper/lower case), and scrink it to 1X1 pixels. ScrinkWrap New 640 100 - Will look for the window titled 'New' and will attempt to resize it to 640X100, at pixel position 0,0. ScrinkWrap New a - Will autosize the window titled 'New', (CLI only!), to a size easy to locate. This is useful if you have scrunk a window and can't find it. ScrinkWrap New A - Will autosize the window titled 'New', (use on Workbench windows! not 'a'), to a size easy to locate. ScrinkWrap "New CLI" - Will resize a window titled 'New CLI', (note the quotes for the space in the filename), to 1X1 pixels. ScrinkWrap "" - Will attempt to resize a titleless window to 1X1 pixels. ScrinkWrap ? - Displays a help screen. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 26-Dec-1987 PLEASE READ!! Known problems/side-effects. Since some windows were not designed to be 1X1 pixels, AmigaDOS sometimes has problems redrawing the title bar and left border. If this occurs, just resize the window and hopefully AmigaDOS will redraw. Normally the upper 1/4 of the left-border will disappear. This will not affect the operation of the window it is just a little annoying. ScrinkWrap does NOT mess with MinWidth/Height of windows, so if a window has been scrunk and you attempt to resize it, it will only scrink back to its minimum dimensions. If you forget and use the 'a' autosize function on a Workbench window, you will get a Guru (use the 'A' function for Workbench windows). ScrinkWrap does not work correctly under Shell 207, make sure (if you are a Shell user) to start a New CLI before using ScrinkWrap. Or if it is in your Startup-Sequence, make sure it is before your call to Shell. ScrinkWrap was designed for experimentation, please have fun with it, it was a two day hack so it probably has a few bugs. I use an A1000 w/2 drives and a 2 meg StarboardII. I have not tried it on any other system but my own so I would appreciate hearing your bug reports/comments etc! Please send any feedback/comments to: Tony Solomon PLINK ID - Tony*S Thanks to M. Stolnicki for the examples.