Category: Code

ColourSpy v3.0

ColourSpy v3.0 has been uploaded, and is available from:

Major changes to the last version include conformity to standard configuration; use of the CL.Functions() to build a dynamic bar when needed, resulting in the bar no longer being stored in the .PCF file; and the script has been heavily commented to offer insight into how it all works.

It is necessary to uninstall previous versions before installing this one.

For those who haven’t heard of ColourSpy, the ColourSpy bar will display the RGB and hex values of the colour underneath the mouse cursor, similar to most eyedropper tools that you can find around with the exception that this one is programmed entirely in PowerPro.

Download | Original PowerPro discussion group message

ARB v3.0 has been released and is available here:

  • Modified to conform to standard configuration
  • Renamed included ‘Add’, ‘Rebuild’, ‘Remove’ and ‘Edit’ aliases to ARB_Add’, ARB_Rebuild’’, ARB_Remove’’ and ‘ARB_Edit’’ respectively, as per David Troesch’s request
  • Renamed included ’‘Acronym’’ alias to ’‘Acro’’ for ease of typing
  • Added ’‘G’’, ’‘Go’’ and ‘’Eval’’ aliases—comments on their usage are included within their definitions

DownloadOriginal PowerPro discussion group message

This release is a complete rewrite, adding the ‘Remove’ alias to the ‘Add’, ‘Edit’ and ‘Rebuild’ aliases that are included.  Also, there is no need to rebuild the entire alias cache after an add or remove through the supplied aliases, as only what’s necessary is performed.

If you wish to upgrade to this version, please note that I have renamed the ‘Refresh’ parameters and aliases to ‘Rebuild’ in an attempt to lessen the confusion as to what is performed.

DownloadOriginal PowerPro discussion group message


  • Added ‘Add’ alias, as per David Troesch’s request


  • Added Upgrading section


> File : /Scripts/
> Uploaded by : lx_peters <alex@...> 
> Description : Adds alias, auto-completion and persistent
> history functionality to the PowerPro Run box (v1.0)
> You can access this file at the URL

Due to all the recent hype about this stuff, and my failed attempts at getting the published scripts to work, I decided to have a shot at scripting something similar myself.

I take no responsibility whatsoever for the ideas, let me assure you—just the code used to get the job done. 🙂

Please let me know what you think.

DownloadOriginal PowerPro discussion group message

ColourSpy v2.0

ColourSpy v2.0 in actionColourSpy has reached version 2.0.

It’s a major rewrite, now using a skin for better placement of controls, and it can now be shown and hidden conventionally using *Bar Show and *Bar Hide, as opposed to the awkward script calls that were previously required.

This version also uses a PowerPro script for installation, making setup as easy as double-clicking a PowerPro icon.

DownloadOriginal PowerPro discussion group message

ColourSpy v1.2


  • Introduced mouse co-ordinates section


  • Improved bar formatting code


  • Added installation step for upgrading


ColourSpy v1.1

Bar import file:

  • Removed redundant lines


  • Removed right-click functionality of Close button


  • Corrected typo


ColourSpy v1.0

Version 1.0
Thursday, 21 August 2003


There are many people in the world that need to know exactly what that colour is, right there under their mouse cursor.  Thankfully, a plethora of programs have been released, free and costly, that can do just that.

But those who own a copy of PowerPro need not install a piece of software made for that purpose, because this functionality is available through PowerPro, courtesy of the bar included in this package.

The ColourSpy bar will display the RGB and hex values of the colour underneath the mouse cursor, as well as displaying the colour itself, so that you know you have the right pixel.  It will do this while the Ctrl key is held down.

Once you have your desired colour, you can copy either the RGB or hex values to the clipboard.


This bar uses a revised version of the Win plugin, which by default is not included in installations of PowerPro v3.8 and under.  You can find the new version of this plugin at:

The Events plugin (included with PowerPro) is used while the Ctrl key is held down.  This plugin is limited to 50 simultaneous events.  So your PowerPro configuration must use less than 50 simultaneous events. 🙂


  1. Extract the ColourSpy.icl file into the folder where your PowerPro configuration (.PCF file) is located.
    (Usually C:\Program Files\PowerPro)
  2. Extract the ColourSpy.txt file into your Scripts folder.
    (Usually C:\Program Files\PowerPro\Scripts)
  3. Import the ColourSpyBar.txt file into your chosen PowerPro configuration.
  4. Set up a method of showing the bar.  The bar can be toggled using the PowerPro command:

The ColourSpy bar will not function if Auto Show as Bar is ticked, or +if the bar is shown using e.g. *Bar Show ColourSpy.  You must use the command .ColourSpy@Toggle for correct functionality.

You can emulate Auto Show as Bar behaviour, if you wish, by adding a startup entry on the Scheduler tab of PowerPro Configuration, for .ColourSpy@Toggle.


To display the ColourSpy bar, use your selected method for executing the command:


Hold down the Ctrl key for the bar to capture colours.

  • The grip on the extreme left allows you to relocate the bar.
  • The “X” icon will close the bar.
  • The “Copy” icons will copy the values to the left of them, to the clipboard.  These won’t be visible until you have pressed Ctrl.

To Conclude

Thanks to Bruce for coming up with a great hex conversion script—the bar wouldn’t be able to show hex values otherwise!

I’d really like to know if any of my PowerPro work goes to use, so please feel free to email me with any questions or comments you may have.  You can reach me through the Yahoo! PowerPro group, at:

Lastly, a special thanks to Bruce Switzer for PowerPro! 🙂