Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Ways to make a legal interface between program X and Program Y

Author: KarinsDad

Date: 09:57:08 08/25/99

Go up one level in this thread


On August 25, 1999 at 04:13:48, Shep wrote:

>On August 25, 1999 at 00:37:59, Richard A. Fowell (fowell@netcom.com) wrote:
>
>>It is quite possible to make a program that shuttles data from one program to
>>another. Programs that watch the screen for changes exist (e.g., Gif-gIf-Gif,
>>from http://www.peda.com, for most flavors of Windows, and for Mac), and
>>programs that take action, like scripting programs (e.g., QuicKeys for PC
>>and Mac, http://www.celsoft.com/obasic/, etc.).
>>
>>It is quite feasible to write a program that would connect the two, without
>>touching or modifying the CM6000 code in any way, if all you want is to set
>>up positions in Fritz, and have CM6000 analyze them. With the fritz engine
>>interface specs, it would be even easier to write a module that interfaced
>>between Fritz and CM (or another other chess program) using a scripting program
>>to provide input to CM, and a screen observer to process the output from CM.
>
>Sounds mega-tricky to me. There's a _huge_ difference between just grabbing
>windows contents as raw graphics data (as Gif-gIf-giF does) and actually parsing
>the contents in any way.
>(No wait, now that I think of it... will give this a thought.)

Piece of cake. Grab the window contents for the move list and use character
recognition to determine which move was made. Ignore the graphics for the pieces
and everything else.

KarinsDad :)



This page took 0 seconds to execute

Last modified: Thu, 15 Apr 21 08:11:13 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.