Jump to content

MATISZON

Active Members
  • Posts

    36
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

MATISZON's Achievements

Seeker

Seeker (1/7)

0

Reputation

  1. Hey. $Form1 = GUICreate("any txt", 700, 500, 211, 130) $Obj1 = ObjCreate("ShockwaveFlash.ShockwaveFlash.10") $Obj1_ctrl = GUICtrlCreateObj($Obj1, 0, 0, 700, 500) GUISetState(@SW_SHOW) $Obj1.Movie = "any" $Obj1.Play(False); = The requested action with this object has failed.: Please help me
  2. Refresh because edited the first post Why not get the header set-cookie
  3. hello, I can not connect to a server using WinHTTP. $WinHttp = ObjCreate("winhttp.winhttprequest.5.1") $WinHttp.Open("GET", "http://s10.zieloneimperium.pl/logw.php?pass=9abdd0da86b0f92d00a0058beb6de326&USR=LOGIN&gfx_aktiv=on&server=server10&embed=&sno=10&ref=") $WinHttp.SetRequestHeader("User-Agent", "Mozilla/5.0 (Windows; U; Windows NT 5.1; pl; rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13") $WinHttp.Send() MsgBox(0,0,$WinHttp.GetAllResponseHeaders) Screen from LiveHttpHeaders
  4. Your code is working. Can someone show me working code with com object?
  5. Hello. I have a problem trying to send binary data (image) using WinHTTP. My script: $f = FileOpen("avek.gif") $dataf = FileRead($f) FileClose($f) $data = 'Content-Disposition: form-data; name="userfile"; filename="avek.gif"' & @CRLF $data &= 'Content-Type: image/gif' & @CRLF & @CRLF $data &= $dataf $http = ObjCreate("winhttp.winhttprequest.5.1") $http.Open("POST", "http://zapodaj.net/upload.html") $http.SetRequestHeader("Connection", "keep-alive") $http.SetRequestHeader("Content-Type", "multipart/form-data") $http.Send($data) MsgBox(0,0,$data) FileDelete("del.html") FileWrite("del.html", $http.ResponseBody) Screen from LiveHTTPHeader Please, Help me :]
  6. GREAT thanks
  7. Ex $val = 1000 ;OK! $val = "1000" ;bad $val = GuiCtrlRead($input) ;bad $val = IniRead("det.ini", "settings", "val", "1000") ;bad I mean with like will use $val = 1000 in this script is good but use a different from the examples already bad script Func izolatka() $formid = 5 $sepa = 1 For $x = 1 To $strony _IENavigate($IE, "http://bialoleka.prisonwars.pl/"&$strona1&"/" & $sepa & "/") $html = _IEBodyReadHTML($IE) $kasa = _StringBetween($html, "class=right>$", "</td>") For $y = 0 To UBound($kasa) - 1 ; MsgBox(0, $s, $kasa[$s]) ; ToolTip($kasa[$y], 2, 2) Sleep(90) $kasax = StringReplace($kasa[$y], " ", "") MsgBox(0, "", $kasax) If $val <= $kasax Then TrayTip("Bot", "Wykupuje z izoltaki zysk: " & $kasa[$y], 10, 1) $form = _IETagNameGetCollection($IE, "form", $formid + $y) ;MsgBox(0, "", "") EndIf Next $sepa += 1 Next EndFunc ;==>izolatka If you want I can give my whole script I can do something with this?
  8. Perhaps there any page on which day and month are given in numbers?
  9. I can download the current date of time.windows.com or from some other site? Because I wanted to do a test period in my program.
  10. Thanks to what I meant
  11. How is the script for the change of the proxy in IE Do you understand?
  12. Yes. what can I do this function
  13. OK. Which tries to open any website via a proxy.
  14. I wanted to open the page by proxy is not set. Unless you can set a proxy in InternetExplorer.
×
×
  • Create New...