PDA

Click to See Complete Forum and Search --> : very difficult


nswan
Feb 1st, 2001, 10:17 AM
I have a problem that needs solving, and that I think can be done, but I need help.

I'm working on a trading system that takes bids and offers from telephone brokers. The problem is, is that there is an internet broker that we need to get the numbers off. They are not letting us have a direct link to their system. Therefore I need some way of getting the numbers off the screen and assigned to a variable.

Does anyone know how to select the co-ordinates a screen, and read that area into an array. Then read the array doing some kind of charachter recognition stuff on it.

The internet broker uses a standard font, so and 8 always looks like an 8 etc....

Thanks for your time reading this and any help you will be able to give.

Nick

amitabh
Feb 1st, 2001, 03:08 PM
It might be better if you just parse the html file provided by the server to extract the required information.

nswan
Feb 1st, 2001, 03:15 PM
It uses a director movie so I have to catch the numbers off the screen.

amitabh
Feb 2nd, 2001, 12:06 AM
Then I don't think there is a way to catch he words written on the screen. All you can do is catch the pixels color at a given co-ordinate. using GetPixel.

nswan
Feb 2nd, 2001, 02:51 AM
It would be possible to use get pixel as the numbers are always black and the background blue. Does anyone know how to use this function. It will need to be able to read a certain parts of the screen(pixels if they are black) into an array i think. Then you can do some character recognition stuff on the array?

Is this possible

Thanks
Nick

amitabh
Feb 2nd, 2001, 09:44 AM
There is an api called GetPixel. You can look for more information at http://www.vbapi.com/ref/g/getpixel.html and http://www.allapi.net/api/GetPixel.php.

KrishnaSantosh
Feb 7th, 2001, 06:28 AM
There are certain API Calls to capture an area of screen.

But I Dont know how to place the same in an array.

Try Using Those API Calls.