[initial commit for simple google example
timo.lindfors@iki.fi**20071205162240] {
addfile ./google1.js
hunk ./google1.js 1
+/* chickenfoot-launcher google1.js debian free software guidelines */
+include("fileio.js");
+ret = "";
+
+go("http://www.google.com/");
+query = ARGV.slice(1).join(" ");
+ret += "query: " + query + "\n";
+enter(query);
+click("haku button");
+for (var l = find("link"); l.hasMatch; l = l.next) {
+    ret += "link: " + l.element.innerHTML + "\n";
+}
+
+write(stdoutFile, ret);
+window.close();
}
