it would be much much much quicker to automate mouse and keypresses like this in a scripting program such as autoit. in fact, i've made a fishbot for someone before in ffxi similar to this, scans for specific pixel colors and does mouse movements/button pushes.
here's the program:
http://www.autoitscript.com/autoit3/
and a very nice little add-on to help build your script:
http://www.autoitscript.com/autoit3/...tro/au3spy.htm
pretty neat and easy to use if you have a minor programming background, there's stuff like if statements, loops, etc.
definately the way to go if you're going to do something like that, you could do it in a regular langauge but this could be created in about an hour or less using this tool once you get the syntax figured out.