getElementsByTagNameを使用。
1. getElementsByTagNameでinputタグの要素ノードを検索
2. もしそれがtextだった場合はキーワードを代入
3. inputタグのformタグの要素ノードを取得
4. submitで送信
getElementsByTagNameを使用。
1. getElementsByTagNameでinputタグの要素ノードを検索
2. もしそれがtextだった場合はキーワードを代入
3. inputタグのformタグの要素ノードを取得
4. submitで送信
keyword = "HSP"sites.0 = "http://www.google.co.jp/", "http://www.yahoo.co.jp/", "http://www.goo.ne.jp/"sites.3 = "http://www.excite.co.jp/", "http://jp.msn.com/", "http://www.infoseek.co.jp/"sites.6 = "http://www.livedoor.com/", "http://www.baidu.jp/", "http://www.naver.jp/"// 乱数randomizesite = sites(rnd(length(sites)))newcom ie, "InternetExplorer.Application"ie("Visible")=1ie->"Navigate" sitemes siterepeatwait 10 : if( ie("Busy") == 0 ) { break }loopo = ie("Document")repeatwait 10 : if( o("readyState") == "complete" ) { break }looppDoc = ie("Document")comres pInputs// inputを検索pDoc->"getElementsByTagName" "input"num = pInputs("length")repeat numpInput = pInputs("item", cnt)// typeを取得するcomres typepInput->"getAttribute" "type"// type = text の時if type == "text" {// キーワードをセットするpInput("value") = keyword// formを参照pFrom = pInput("form")// 送信pFrom->"submit"break}loopdelcom pFromdelcom pInputdelcom pInputsdelcom pDocdelcom ieend