I require two Delphi functions that will be used in a simple application to monitor events of the farmville game played via Mozilla Firefox.
Given a set of coordinates (x, y) as parameters, the mouse should go to this point and hover. While the mouse is hovering above this point the function must read the message shown and if it matches a constant message, trigger an event.
Given a set of coordinates (x, y) as parameters, this function must make a left mouse button click at this point.
The two functions will be tested by a simple application:
1.- Entering the mouse coordinates (x, y) (2 edit boxes) of an object on the farmville game played on Mozilla Firefox.
2.- Pressing a button to execute the first function using the mouse coordinates entered above.
3.= Pressing another button to execute the second function using the same mouse coordinates entered above.