AutoIT

From BarikWiki
Jump to: navigation, search

While AutoIT works well for desktop applications, it doesn't seem to be able to automatic web browsing experiences, which is unfortunate. Instead, we can try Selenium or iMacros.

AutoIT Notes

  • AutoIT documentation. You will always want the Function Reference.
  • Working with AutoIT, one would be led to believe that no one in the history of using AutoIT has ever encountered a ListBox. With list boxes, GetCurrentSelection and SetCurrentSelection are the most useful options.
  • Use @CRLF for a new line, and ConsoleWrite to print to stdout.

Selenium

In the long term, it's better to learn Selenium RC, which provides language hooks for .NET, Java, Python, and Ruby. That's a pretty impressive list. If you're unfortunate enough to have to use Moodle, you'll pretty much need Selenium to do any sort of batch processing.