Jump to content

czingishan

Members
  • Posts

    8
  • Joined

  • Last visited

czingishan's Achievements

Seeker

Seeker (1/7)

0

Reputation

  1. Hi How push this button: <input type="submit" value="Preview"> ?
  2. Yes, its spam bot in browser game.
  3. #include $open=FileOpen("users.txt",0) $oIE = _IEAttach("[CLASS:IEFrame]", "embedded") $topic="hi" $message="test" While 1 sleep(50) $oIE = _IEAttach("[CLASS:IEFrame]", "embedded") $readline=FileReadLine($open) If @error=-1 then ExitLoop $oDiv = _IEGetObjByName($oIE, "to") _IEFormElementSetValue($oDiv,$readline) $nameinput=_IEGetObjByName($oIE,"subject") _IEFormElementSetValue($nameinput,$topic) $nameinput1=_IEGetObjByName($oIE,"text") _IEFormElementSetValue($nameinput1,$message) $button=_IEGetObjByName($oIE,"send") If @error=-1 then Exit;<------------------------------------------------------- _IEAction($button,"click") _IELoadWait($oIE) _IENavigate($oIE, "adress www") _IELoadWait($oIE) WEnd Dont work :/
  4. Thx water this fixed IE.au3 solved the problem. I have anothe problem #include $open=FileOpen("users.txt",0) $oIE = _IEAttach("[CLASS:IEFrame]", "embedded") $topic="hi" $message="test" While 1 sleep(50) $oIE = _IEAttach("[CLASS:IEFrame]", "embedded") $readline=FileReadLine($open) If @error=-1 then ExitLoop $oDiv = _IEGetObjByName($oIE, "to") _IEFormElementSetValue($oDiv,$readline) $nameinput=_IEGetObjByName($oIE,"subject") _IEFormElementSetValue($nameinput,$topic) $nameinput1=_IEGetObjByName($oIE,"text") _IEFormElementSetValue($nameinput1,$message) $button=_IEGetObjByName($oIE,"send") if $button = "send" then;<------------------------------------------------------- _IEAction($button,"click") _IELoadWait($oIE) _IENavigate($oIE, "adress www") _IELoadWait($oIE) else;<-------------------------------------------- exit;<----------------------------------------- endif;<------------------------------------ WEnd Why this (<--) don't work?
  5. Run that is tools--->Go ? e:Program FilesAutoIt3IncludeIE.au3 (585) : ==> The requested action with this object has failed.: WEnd WEnd^ ERROR >Exit code: 1 Time: 16.460 EDIT --> IE.au3 V2.4-0 Warning from function _IEGetObjByName, $_IEStatus_NoMatch (Name: to, Index: 0) --> IE.au3 V2.4-0 Error from function _IEFormElementSetValue, $_IEStatus_InvalidDataType --> IE.au3 V2.4-0 Warning from function _IEGetObjByName, $_IEStatus_NoMatch (Name: subject, Index: 0) --> IE.au3 V2.4-0 Error from function _IEFormElementSetValue, $_IEStatus_InvalidDataType --> IE.au3 V2.4-0 Warning from function _IEGetObjByName, $_IEStatus_NoMatch (Name: text, Index: 0) --> IE.au3 V2.4-0 Error from function _IEFormElementSetValue, $_IEStatus_InvalidDataType --> IE.au3 V2.4-0 Warning from function _IEGetObjByName, $_IEStatus_NoMatch (Name: send, Index: 0) --> IE.au3 V2.4-0 Error from function _IEAction, $_IEStatus_InvalidDataType e:Program FilesAutoIt3IncludeIE.au3 (585) : ==> The requested action with this object has failed.: WEnd WEnd^ ERROR >Exit code: 1 Time: 35.774 EDIT2 e:Program FilesAutoIt3IncludeIE.au3 (2362) : ==> The requested action with this object has failed.: Return SetError($_IEStatus_Success, $o_object.document.GetElementsByName($s_Id).length, $o_object.document.GetElementsByName($s_Id).item($i_index)) Return SetError($_IEStatus_Success, $o_object.document.GetElementsByName($s_Id).length, $o_object.document.GetElementsByName($s_Id)^ ERROR >Exit code: 1 Time: 11.535
  6. Autoit 3.3.8.1 IE 9, 7 and 6
  7. 268 line in script.exe but script.au3 have 23 lines
  8. #include $open=FileOpen("users.txt",0) $oIE = _IEAttach("[CLASS:IEFrame]", "embedded") $topic="hi" $message="test" While 1 sleep(50) $oIE = _IEAttach("[CLASS:IEFrame]", "embedded") $readline=FileReadLine($open) If @error=-1 then ExitLoop $oDiv = _IEGetObjByName($oIE, "to") _IEFormElementSetValue($oDiv,$readline) $nameinput=_IEGetObjByName($oIE,"subject") _IEFormElementSetValue($nameinput,$topic) $nameinput1=_IEGetObjByName($oIE,"text") _IEFormElementSetValue($nameinput1,$message) $button=_IEGetObjByName($oIE,"send") _IEAction($button,"click") _IELoadWait($oIE) _IENavigate($oIE, "adress www") _IELoadWait($oIE) WEnd line 268 error: the requested action with this object has failed. This error pop up in random moments. What is wrong?
×
×
  • Create New...