piątek, 6 sierpnia 2010

FarmeRobot - programming

You can create your own instrucions of what FarmeRobot shoul do. It can be achieved by editing XML file (Program.xml) and by providing custom pictures as a patterns for searching farmerama objects.

Program.xml - can include instructions:
  • loop - <loop>...</loop> - main program loop
  • find(field) - <find field="name"><success/><failure/></find> - conditional find of pattern from file "name.png"
  • click(field)- <click field="name"/> - just click that field
  • increm(counter)- <increm counter="name"/> - increment counter
  • reset(counter)- <reset counter="name"/> - reset counter
  • check(counter,isgreaterthen)- <check counter="name" isgreaterthan="y"><success/><failure/></check> - check if counter is greater than y
  • wait(seconds) - <wait seconds="x"/> - wait for x seconds
  • restart - <restart/> - restarts FarmeRobot - a memory leak in IE control results in slowdown of FarmeRobot - it's worth restarting it every few hours.
  • exit - <exit/> - switches FarmeRobot off - one can define a task in sheduler f.e. to start FarmeRobot every 30 minutes
  • finish <finish/> - finishes current job

1 komentarz:

  1. hi.. thanks for the sw... it's great!!
    ..just a curiosity..
    how can i show counters and timers on the sw windows?
    thanks buddy ;)

    OdpowiedzUsuń