KING OF READMAIL画像認証クリア致しました。ところが、他のサイトでは、できません。 いったいいくつの画像が保存されているのでしょうか。ちなみに某サイトでは、896の画像をほぞんしても、一致する画像がでませんでした。9900の画像があるのでしょうか。 inbox-URLを変更すれば、他のサイトでも応用できると思います。お暇な方は、チャレンジして下さい。
//king of Mailオープン// public IE public IE2 public se public s public ke[4]
While True for s = 0 to (IE.Document.links.length- 1) ifb pos("runner.php?IM=", IE.document.links[s].href) > 0 IE2 = CREATEOLEOBJ("InternetExplorer.Application") IE2.visible = true IE2.navigate(IE.document.links[s].href) msg_open() endif next Wend FEND
//メール読み取り
Procedure msg_open() BusyWait(ie) While True sleep(0.2) COM_ERR_IGN //COMエラー無視 if IE2.document.title="Message" then BREAK COM_ERR_RET //エラー処理復帰 Wend
for ss=0 to IE2.Document.links.length-1 ifb pos("runner.php?EA=", IE2.document.links[ss].href) > 0 IE2.navigate(IE2.document.links[ss].href) timer() IE2.Quit break endif next
ifb ge<>0 then for a=1 to ge //fukidasi(ke[i]+"-"+a) ifb CHKIMG("D:\uwsc41a\Readmail\img\king\"+ke[i]+"-"+a+".bmp")=TRUE then // msgbox("hit "+ke[i]+"-"+a) // CTRLWIN(GETID(GET_ACTIVE_WIN), CLOSE) exit endif next endif next
public IE public IE2 public se public s public c public a
public x[2][6]=_ "ID","Pass","INBOX-URL","閲覧済みで","規定のクリック数","PTC-URL","ペイドクリック広告がございません。",_ "ID","Pass","INBOX-URL","コチラ","この広告は規定のクリック数に達しています。","PTC-URL","申し訳ございません",_ "ID","Pass","INBOX-URL","報酬を受けずに","報酬を受けずに","PTC-URL","現在閲覧できる広告はありません"
While True COM_ERR_IGN //COMエラー無視 se=Fr.document.body.innertext COM_ERR_RET //エラー処理復帰 ////msgbox(COPY(se,pos("point",se)+5,4)) if POS("加算されました",se)<>0 then BREAK sleep(1) Wend
FEND
PROCEDURE ptc() While True IE.navigate(x[a][5]) BusyWait(ie) se=IE.document.body.innertext if POS("申し訳ございません",se)<>0 then BREAK for s = 0 to (IE.Document.links.length- 1) ifb pos("runner.php?PA=", IE.document.links[s].href) > 0 IE2 = CREATEOLEOBJ("InternetExplorer.Application") IE2.visible = true IE2.navigate(IE.document.links[s].href) timer() CTRLWIN(GETID(GET_ACTIVE_WIN), CLOSE) break endif next Wend FEND // Procedure BusyWait(ie) repeat Sleep(0.5) until (! ie.busy) and (ie.readyState=4) Fend