Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 06/03/2017 in all areas

  1. iamtheky

    split large string

    what are your thoughts on this mod, per the OPs needs: Local $sSplit = _StringEqualSplit_au3("12345678910", 3) msgbox(0, '' ,$sSplit) Func _StringEqualSplit_au3($sString, $iNumChars, $var = "sSplit" & $iNumChars & "Var") If Not IsString($sString) Or $sString = "" Then Return SetError(1, 0, 0) If Not IsInt($iNumChars) Or $iNumChars < 1 Then Return SetError(2, 0, 0) Return "$" & $var & " = " & stringtrimright(StringRegExpReplace($sString, "((?s).{1," & $iNumChars & "})", '"' & "$1" & '"' & " & _" & @CR) , 4) EndFunc And this version with &= Local $sSplit = _StringEqualSplit_au3("12345678910", 3) msgbox(0, '' ,$sSplit) Func _StringEqualSplit_au3($sString, $iNumChars, $var = "sSplit" & $iNumChars & "Var") If Not IsString($sString) Or $sString = "" Then Return SetError(1, 0, 0) If Not IsInt($iNumChars) Or $iNumChars < 1 Then Return SetError(2, 0, 0) Return "$" & $var & " = " & '""' & @CR & StringRegExpReplace($sString, "((?s).{1," & $iNumChars & "})", "$" & $var & " &= " & '"' & "$1" & '"' & @CR) EndFunc
    1 point
  2. scintilla4evr

    CUDA UDF

    Version 1.0.0

    697 downloads

    This is a small wrapper UDF for NVIDIA CUDA Driver API. It enables AutoIt scripts to execute pre-compiled .cubin programs on NVIDIA GPU's and receive data from them.
    1 point
  3. 27,623 downloads

    Decided to export the data file from my favorite tool for getting api constants and converted them so they could be used in autoit by simple clicks and paste. Over 50,000 constants (this is not all the constants available of course). Files have au3 extension for easy editing, keep the file under 4000 records each. Add your own files i.e. a file with all your most used constants. Source Not included with Skinnable version, see Win32 API Constants for source (excluding skin functions) Edit: Unpacked the UPX exe as it was causing AV false positives (Jon).
    1 point
×
×
  • Create New...