home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Club Amiga de Montreal - CAM
/
CAM_CD_1.iso
/
files
/
554b.lha
/
autocentre_v1.0
/
autocentre.doc
< prev
next >
Wrap
Text File
|
1991-09-09
|
2KB
|
42 lines
AutoCentre Version 1.0 © Copyright 1991 Colin Bell
Background: In Workbench 2.0 you can have your workbench set to any size
you like. So if you have a Commodore 1950 monitor you will probably want
to set up a workbench that fills the entire screen (approx 704 wide).
This is nice because you can fit a lot more on screen. Unfortunately,
some programs open screens that are only 640 wide and they are aligned
with the leftedge of the screen so you end up centering them with the
mouse pointer.
I've been using the CentreScreen Commodity by Stefan Sticht for a few
weeks (this util centres the frontmost screen when you press a key combo)
& started getting sick of pressing alt-C every time a program opened a
640 wide screen on my 704 wide Workbench.
AutoCentre to the rescue: AutoCentre is a 2.0 only program that wedges
into the Intuition OpenScreen and OpenScreenTagList Library Vectors
(in a sensible manner) and attempts to centre any new screen as it is
opened by adjusting the leftedge parameter in the newscreen structure.
AutoCentre is not a commodity as I wanted it to be as small as possible
(plus, I dunno how to make a commodity 8-).) Once run it only uses 248
bytes of memory and no CPU time. If you run this program with anything
less than intuition version 37.xx(2.0) it will just exit and say nothing!
AutoCentre is fully compatible with Centrescreen & it is still useful to
run Centrescreen as you might pull down the screen with the mouse & find
that you've thrown it off centre.
Usage: Place AutoCentre in the C: directory of your system disk and edit
your startup-sequence so that it runs Autocentre.
Bugs: Dpaint 3.25 is the only program I have seen so far that does not
work with AutoCentre but it works fine with Dpaint4 so I will blame
Dpaint3.25 for the problem. If you do encounter this problem where half of
the tool window gets cut off just press F10 twice & all will be restored.
Legal: AutoCentre is Freely Distributable. No charge apart from nonprofit
charges may be made for this program.
This doc file must always be distributed with the program.
Contact: Send messages/bug reports/flames to me at Fidonet 3:712/512