Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 06/18/2020 in all areas

  1. Using AutoIt3Wrapper under the "Res Add Files" I place the whole path to the file I want to compile with the application. Now how to I get to the file within the .exe? Example: #AutoIt3Wrapper_Res_File_Add=C:\Users\Rogue\Script\Resource\background.png I added this line but now how do I get the path to this .png file? I checked the Help file with AutoIt3Wrapper but it uses DllCall to play the sound which doesn't instruct me how to get to the file path. Trying to avoid FileInstall(), I would like to not create any temp files on the computer. Plus this would be a great learning experiance! Thanks for the help in advance!
    1 point
  2. water

    OutlookEX

    Version 1.7.0.1

    10,051 downloads

    Extensive library to control and manipulate Microsoft Outlook. This UDF holds the functions to automate items (folders, mails, contacts ...) in the background. Can be seen like an API. There are other UDFs available to automate Outlook: OutlookEX_GUI: This UDF holds the functions to automate the Outlook GUI. OutlookTools: Allows to import/export contacts and events to VCF/ICS files and much more. Threads: Development - General Help & Support - Example Scripts - Wiki BTW: If you like this UDF please click the "I like this" button. This tells me where to next put my development effort KNOWN BUGS (last changed: 2020-02-09) None
    1 point
  3. This is more or less what I do in AutoIt3Wrapper to detect the different BOM options and later strip the inputfile, and later add it back. Local $hTest_UTF = FileOpen("filename", 16) Local $Test_UTF = FileRead($hTest_UTF, 4) Local $i_Rec_Param, $i_Rec_Value, $Temp_Val FileClose($hTest_UTF) ;~ 00 00 FE FF UTF-32, big-endian ;~ FF FE 00 00 UTF-32, little-endian ;~ FE FF UTF-16, big-endian ;~ FF FE UTF-16, little-endian ;~ EF BB BF UTF-8 Select Case BinaryMid($Test_UTF, 1, 4) = '0x0000FEFF' ; UTF-32 BE $UTFtype = '32BE' Case BinaryMid($Test_UTF, 1, 4) = '0xFFFE0000' ; UTF-32 LE $UTFtype = '32LE' Case BinaryMid($Test_UTF, 1, 2) = '0xFEFF' ; UTF-16 BE $UTFtype = '16BE' Case BinaryMid($Test_UTF, 1, 2) = '0xFFFE' ; UTF-16 LE $UTFtype = '16LE' Case BinaryMid($Test_UTF, 1, 3) = '0xEFBBBF' ; UTF-8 $UTFtype = '8' Case Else $UTFtype = '' EndSelect Jos
    1 point
  4. UEZ

    watermark an image with a png

    You can use this tool that I wrote: Here the result:
    1 point
  5. ptrex

    Device Management API

    Here you go ... Enjoy ! Device API.zip
    1 point
  6. Example multi request 10 pages website: Local $Thread = 10 Local $oWH[$Thread] Local $ThreadCompleted[$Thread] Local $CheckCompleted = 0 Local $AsyncMode = True For $i = 0 To $Thread - 1 $oWH[$i] = ObjCreate('WinHttp.WinHttpRequest.5.1') $oWH[$i].Open('GET', 'http://autoitvn.com/forums/thao-luan-hoi-dap/page-' & ($i + 1), $AsyncMode) $oWH[$i].Send() Next Do For $i = 0 To $Thread - 1 If $ThreadCompleted[$i] = 0 And $oWH[$i].WaitForResponse(0) = True Then ;$ThreadCompleted[$i] variable condition to prevent loop result ConsoleWrite('>Page ' & $i & ' completed:' & @CRLF & $oWH[$i].GetAllResponseHeaders & @CRLF) $ThreadCompleted[$i] = 1 $CheckCompleted += 1 EndIf Next Until $CheckCompleted = $Thread MsgBox(0, 'Hi', 'Completed') This method works very fast and do not use as much CPU and RAM resources as multi process
    1 point
×
×
  • Create New...