Short: Activate windows automatically when changing screens Author: tboeckel@uni-paderborn.de (Thore Boeckelmann) Uploader: tboeckel uni-paderborn de (Thore Boeckelmann) Type: util/misc Architecture: m68k-amigaos TITLE WinRemember VERSION 37.1 AUTHOR Thore Böckelmann REQUIREMENTS Any Amiga® (compatible) computer with at least OS2.04 and 68020+ cpu. DESCRIPTION There are many people operating their Amiga mostly by keyboard sometimes, instead by mouse. I, as a programmer, belong to these people, because I have to switch between editor, several Shells and other windows very often. It is very annoying if you have to look for your mouse on your overflowing desk (as is mine :) just to activate a window on a newly brought to front screen. So I wrote WinRemember. It keeps a list of all currently opened screens and the active window on the screen when it was at the front the last time. Whenever you switch screens (either by mouse, keyboard or under program control) WinRemember will remember (hence the name) the window on the former front screen and activate the last active window on the new front screen. Thus you have nothing to do and you can continue you work without any interruption. Especially people using their Amiga mostly by keyboard will benefit from this behaviour, because they don't have to activate windows "by hand" anymore. You may now remember the program MagicCX, which has exactly the same function, and you are correct. I wrote WinRemember because 1) MagicCX is shareware, not freeware, 2) MagicCX patches more functions than necessary, even if you don't want a patch to be done. So it *may* produce a more unstable system than would expect. Nevertheless, in order to keep its internal lists up-to-date WinRemember has to install a few patches in your system, too. These are: intuition.library: OpenScreen() OpenScreenTagList() CloseScreen() ScreenToBack() (OS2.x only) ScreenToFront() (OS2.x only) ScreenDepth() (OS3.x only) CloseWindow() USAGE You can start WinRemember from either Workbench or Shell. There are currently no options. You can start and quit WinRemember at any time. To quit WinRemember simply start it again. INSTALLATION Copy WinRemember where ever you want, but SYS:WBStartup is a very good place KNOWN BUGS - When the last active window on a screen has been closed meanwhile and you bring this screen to front again, WinRemember will activate the first window on that screen. - Windows must fullfil a few conditions to be activated. For example GoldED's clock window doesn't fullfil these conditions and will therefore never be activated. Unfortunately this can happen for any other window (which is nevertheless very unlikely to happen), for WinRemember will activate no window in the worst case, or not the window you would expect in the "normal" case. HISTORY 37.1 (24.09.2001): - initial Aminet release COPYRIGHT AND DISCLAIMER WinRemember is copyrighted 2001 by Thore Böckelmann. All rights reserved. This program is freeware, so no financial donations required. Redistribution allowed if the package is left unchanged. The author is not responsible for any damage caused by the use or misuse of this documentation and/or the program(s) it describes. WinRemember uses the SmartReadArgs package by Thomas Aglassinger.