Some time ago I bought a TV-tuner for PC.
It was equipped with an infrared remote control unit,
but the software hardly allowed to control even 
the TV-card.

However my plans on the RC unit were much more extended.
So I developed this tiny program to allow myself to
control all the computer by means of one small remote
control unit.

This program places itself onto the notify tray in the
task bar. So it surely will not run under Windows 3.x
The compatibility with Windows NT was not tested yet.

All commands to be recognized should be placed into
RC.INI file.
The program should be started via RCSETUP.EXE file.
(RC.EXE will not run separatedly and is only a part
of the program RCSETUP.EXE)

The syntax of RC.INI is following (the copy of the syntax
rules you can find also in the original RC.INI file)

I am not sure that this program will be compatible with any
available RC units for PC, but I have tested as much as 
three different TV-cards with remote controls, and they
worked pretty fine.

Enjoy!
Sincerely yours,
V.Belavin
http://www.geocities.com/SiliconValley/Peaks/6314
e-mail: vabel@geocities.com

Any notes or bug reports are welcome...
See appendices for program details.

APPENDIX A:
RC.INI file syntax:

[] :common system commands
[WinTitleOrClassName] - Window title or class commands
keyX (comment) = CmdString ? CmdComment - command # X
<keyname> (comment) = ...
#number = KEYNAME (definition of keyname)
CmdString: *KEY (Upper register except	alpha keys)
           +KEY (Only pressed)
           -KEY (Only released)
           Dkeycode (key down -hex)  
           dkeycode (key down -dec)  
           Ukeycode (key up -hex)  
           ukeycode (key up -dec)  
           !code (command code -dec)  
           #code (command code -hex)  
           M (maximize/restore))  
           {APP|TITLE} (load Application APP and wait while 
                       window with TITLE title or class appears)
           | (delimiter)
           ? Comment to command (all sfter ?)

Any other strings: ignored

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!                                                       !
!  DO NOT FORGET TO RELOAD COMMANDS FROM RC POPUP MENU  !
!                                                       !
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

APPENDIX B:
How to work:

Right-click the RC icon on the notify tray, to bring
up the popup menu.
The items of that are discussed below.

TEST/COMMAND MODE:
	allows you to determine the active window
	class name as well as RC buttons IDs.
	Select Test Mode, then when you press a
	button on your RC, an Message box appears
	showing the button #, the command sequence
	to be executed in the command mode, the
	title of the active window and the name
	of the window class).
	You can use this info to set up your INI file.

	The test/command mode swithches when you left-
	click the RC icon.

COMMANDS INFO:
	Brings a message box, comtaining all commands
	available for the active window.

EDIT COMMANDS:
	Opens RC.INI file in notepad (or other default
	INI file editor).

RELOAD COMMANDS:
	You should reload commands after any changes made
	in RC.INI file.
	I suppose the INI file edotor will be integrated
	into some future versions, but it necessarily
	will increase the size of program.

I think the interface is not very difficult, so come on!
