Get the last click position and automate next clicks

Hi
I’m trying to do the following:

  1. click on a picture on the screen
  2. get the x,y screen coordinates of the click
  3. execute a number of clicks at specific coordinates relative to the x,y I got above

The picture at (1) can be anywhere on the screen, it is within a flash web app, it is not part of a form.
I don’t really need to click on it, if I can get the coordinates of one of the corners of the picture is fine as well.

The solution I found right now is to capture the picture for the number of clicks, but it’s a slow business. I would like to capture the picture once and then execute the clicks in a rapid sequence.

Any hint appreciated.

Cheers

You can use the following activity to store the position of co-ordinates -

Regards,
Karthik Byggari