Jump to content

tempman

Active Members
  • Posts

    145
  • Joined

  • Last visited

tempman's Achievements

Adventurer

Adventurer (3/7)

0

Reputation

  1. It works as supposed to do: {SHIFTDOWN} Holds the SHIFT key down until {SHIFTUP} is sent https://www.autoitscript.com/autoit3/docs/appendix/SendKeys.htm So, look like that combination of manually and automated SHIFT key pressing wasn't considered.
  2. Thank you @mLipok! I set: _WinHttpSetTimeouts($hOpen, 0, 60000, 60000, 60000) and I manage to upload 350MB file, which is far more than I probably ever need to upload.
  3. My further inquiry reveal that on internet conection with upload speed of 0.125 MB/s (1 Mbps), I can upload files up to 3MB, and on internet with upload speed of 3 MB/s (24 Mbps), I can upload files up to 249MB. Failure @error return is always 0, no matter if file is really upload or not. Suggestions?
  4. Hi, my WinHttp is updated to 1.6.4.1, and this is my script: Edit but if file is larger than 3MB it won't be uploaded. I tested my PHP post script manually, and I can upload large files. php.ini post_max_size = 400M upload_max_filesize = 400M Any hint?
  5. There is no error (Exit code: 0) but no columns retrieve If I modify outlookex.au3 Func _OL_AddressListMemberGet, by adding this line $aMembers[$iIndex][4] = $aMembers[$iIndex][4].JobTitle Only then i can retrieve Title in _ArrayDisplay($GalMembers)
  6. Sorry for delay, I was OOF. Unfortunately your OL_ItemGet script example didn't retrieve any column. Look like it's only colums Name and Address are posible to retrieve...
  7. I'm still sitting in the dark but thank you anyway...
  8. Thank you for the response, but I am lost in you answer... What will be the value of $i? Should I need to use For loop? Where to define that I want to retrieve Title GAL value? Would you be so kind to implement your suggestion to my script?
  9. Hi, with this script: #include <outlookex.au3> #include <array.au3> Opt("MustDeclareVars", 0) $oOL = _OL_Open() $ListArray = _OL_AddressListGet($oOL) $GalMembers = _OL_AddressListMemberGet($oOL, $ListArray[3][1]) _ArrayDisplay($GalMembers) I can retrieve the entire list, but most of the columns is missing (Title, Location, Phone, ...) Is it possible to retrieve all the clumns?
  10. My winhttp was outdated, after I update to 1.6.4.1, everything work fine...
  11. Hi, In my upload php script, I use: <form action="index.php" method="post" enctype="multipart/form-data"> and this is my au3 script: Edit When I upload jpg using php script from browser, it upload it as ˙Ř˙ŕ JFIF ... (as it shoud be) and when I upload jpg using au3 script, it upload it as 0x68FSDGH6DF8H9... (hex value) Why?
  12. I find a solution (not so nice): Instead of:     Until InetGetInfo($hDownload, $INET_DOWNLOADREAD)  I put this:     Until InetGetInfo($hDownload, $INET_DOWNLOADREAD) Or InetGetInfo($hDownload, $INET_DOWNLOADCOMPLETE) so now if *.ts file does not exist, script ends. Never the less, I am interested for better solution.
  13. This script do the job for me, but only in case if *.ts file exist: #include <InetConstants.au3> #include <WinAPIFiles.au3> Example() Func Example()     ; Save the downloaded file to the temporary folder.     Local $sFilePath = _WinAPI_GetTempFileName(@TempDir)     ; Download the file in the background with the selected option of 'force a reload from the remote site.'     Local $hDownload = InetGet("http://xtream.servidorfull.com:25461/live/Nildo/I7CLSx6JHy/4.ts", $sFilePath, $INET_FORCERELOAD, $INET_DOWNLOADBACKGROUND)     ; Wait for 2s and stop download.     Do         Sleep(2000)     Until InetGetInfo($hDownload, $INET_DOWNLOADREAD)     ; Retrieve the number of total bytes received.     Local $iBytesSize = InetGetInfo($hDownload, $INET_DOWNLOADREAD)     ; Close the handle returned by InetGet.     InetClose($hDownload)     ; Display details about the total number of bytes read and the filesize.     MsgBox(64, "", "The total download size: " & $iBytesSize)     ; Delete the file.     FileDelete($sFilePath) EndFunc   ;==>Example But, if *.ts file does not exist, script never ends, why?
  14. Yes, but what about this url: http://xtream.servidorfull.com:25461/live/Nildo/I7CLSx6JHy/4.ts It returns 0 and sometimes this files can be a very large.
  15. Thank you, but as you mentioned URLs can result in other things than 200 and still be valid, or in my case invalid...
×
×
  • Create New...