LoseCaret - Temporary caret remover

by Alan Wrigley

How many times have you had an application installed that recognises hot keys, only to find that you can't use them because the application with the input focus processes the key first? LoseCaret is a small module that enables you to temporarily 'lose' the caret so that your hot key will work, and restore it to its original position when you are ready to do so.

Running the item from the RISC User menu system opens a directory viewer containing the module, entitled LoseRM, and the Basic source code. The module is installed by double-clicking on its file icon.

Once installed, the module watches out for the two Alt keys being pressed at the same time. When this occurs, the caret is removed from the window that currently owns it, and the position is remembered. When Alt-Alt is pressed again, the caret is restored to its original position.

If the caret is not visible when Alt-Alt is first pressed, LoseCaret will ignore the keypress. If the window which owned the caret has been closed before the second pressing of Alt-Alt, an error will be generated to remind you that the window is no longer there.

Copyright  Rheingold Enterprises 1995
