Swap Case Utility for Writable Icons
by Andrew Hersee

Double-clicking on this application loads a small, invisible application that gives you a "swap case" facility in writable icons. No icon will appear on the icon bar, the reason being that this utility will usually be completely transparent. A beep sounds as it loads, which can be suppressed by changing line 120 in !RunImage to:
    120 beep=FALSE
If you should ever need to quit the application, you must use the Task Manager Quit facility: click Menu over the task entry in the Task Manager, and choose Quit.

Most text editors allow you to swap the case of the letter in front of the caret with a key short cut such as Ctrl-S. Frequent users of such editors may well find themselves pressing Ctrl-S in a writable icon. I often do this when changing the case of letters in filenames, for example '!RunImage'. Unfortunately, such a facility has not been available under RISC OS, that is until now!

With SwapCase loaded, type Ctrl-S to swap the case of the character after the caret in, for example, a Save box. Holding down Ctrl-S (or pressing it repeatedly) will convert a series of characters in a row.

If you want to automatically load the SwapCase application each time you turn on the computer, you will need to include a line in your !Boot file to run the application, such as:
      Run adfs::My_Disc.$.!SwapCase
which includes the full pathname to the application.


 RISC User 1993
