Example

Lowercase Clipboard

Author: José Antonio Meira da Rocha
This example requires REBOL/View
Return to REBOL Cookbook

Change the text in the clipboard to lowercase (a cure for "this-damn-caps-lock-key syndrome"). Works with REBOL/View.


    Clip: read/lines clipboard://
    clip: lowercase clip
    write/lines clipboard:// clip

Or, in a short one-line form:


    write/lines clipboard:// lowercase read/lines clipboard://

Create an icon in taskbar and a keyboard shorcut to make it accessible.

[Editor's note to users: If you have not done so, it's a good idea to update to a newer version of REBOL/View due to an error in the clipboard input handling code (termination problem).]


2006 REBOL Technologies REBOL.com REBOL.net