Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 04/23/2021 in all areas

  1. argumentum

    CertSigner

    Version 0.2021.12.23

    1,245 downloads

    1 point
  2. v3.3.4.0 Some of the following features are deprecated. .... OnAutoItStart() has been removed. See the new pre-processor statement #OnAutoItStartRegister. OnAutoItExit() has been removed. See the new functions OnAutoItExitRegister() and OnAutoItExitUnRegister(). If you don't code often, these are hard to catch.
    1 point
  3. seadoggie01, Try unchecking them both and saving - then rechecking them both and saving. If that does not work then I am out of ideas. M23
    1 point
  4. I think the point of the post may have been that the comment for $AutoItWrapper_Au3Check_Parameters refers you to the SciTE4AutoIt3 Help File when it should be referring you to the AutoIt3 Help File. The comment about being a "circular reference" is pointing out the fact that the comment is pointing you back to the help file that you are in. Right? *** Edit *** I didn't see the part about the adding the update to the next release. You must have added that part while I was typing my post. Obviously I type very slowly.
    1 point
  5. I split tis question of as it isn't related to the AutoIt3 Helpfile. All directives are described here: The rest is explained in the AutoIt helpfile as this Utility comes with the AutoIt3 installer. I have updated that line for the next release to: Jos
    1 point
  6. You can use an aRange index as shown here. Not tested. If this code is to work when there is no range and all rows are included, you must use an aRange index that includes all rows. But it'll be more performance optimal to use two sets of code with and without row ranges. The aRange index must of course be added to many different places in the code. Local $iItem_Start = 500, $iItem_End = 599, $iRange = $iItem_End - $iItem_Start + 1, $aRange[$iRange] For $i = 0 To $iRange - 1 $aRange[$i] = $iItem_Start + $i Next Func __ArrayDisplay_SortArrayStruct(Const ByRef $aArray, $iCol) ;Local $iRows = UBound($aArray, $UBOUND_ROWS) Local $iDims = UBound($aArray, $UBOUND_DIMENSIONS) Local $tIndex = DllStructCreate("uint[" & $iRange & "]") Local $pIndex = DllStructGetPtr($tIndex) Local Static $hDll = DllOpen("kernel32.dll") Local Static $hDllComp = DllOpen("shlwapi.dll") Local $lo, $hi, $mi, $r ; Sorting by one column For $i = 1 To $iRange - 1 $lo = 0 $hi = $i - 1 Do $mi = Int(($lo + $hi) / 2) If $iDims = 1 Then $r = DllCall($hDllComp, 'int', 'StrCmpLogicalW', 'wstr', $aArray[$aRange[$i]], 'wstr', $aArray[$aRange[DllStructGetData($tIndex, 1, $mi + 1)]])[0] Else $r = DllCall($hDllComp, 'int', 'StrCmpLogicalW', 'wstr', $aArray[$aRange[$i]][$iCol], 'wstr', $aArray[$aRange[DllStructGetData($tIndex, 1, $mi + 1)]][$iCol])[0] EndIf Switch $r Case -1 $hi = $mi - 1 Case 1 $lo = $mi + 1 Case 0 ExitLoop EndSwitch Until $lo > $hi DllCall($hDll, "none", "RtlMoveMemory", "struct*", $pIndex + ($mi + 1) * 4, "struct*", $pIndex + $mi * 4, "ulong_ptr", ($i - $mi) * 4) DllStructSetData($tIndex, 1, $i, $mi + 1 + ($lo = $mi + 1)) Next Return $tIndex EndFunc ;==>__ArrayDisplay_SortArrayStruct
    1 point
  7. I'd guess right now your main problem is that you never call TCPStartup... it's wrapped in a function named OnAutoItStart. That function doesn't get called automagically though. You either need to use #OnAutoItStartRegister OnAutoItStart or call OnAutoItStart() at the top of your script. Also, remove all of the Global Const lines and add #include <GUIConstants.au3> at the top of your script. No need to reinvent the wheel or worry about adding more constants later as you need them. If you wrote this script yourself, I'll offer more suggestions, but I get the feeling you didn't, so I won't overload you
    1 point
  8. @ReconX Use Opt("MustDeclareVars", 1) for the variables declaration, so you must declare every variable the script uses, or it will throw an error. For the script improvements, in the function ComputerInfo() you could use WMI object instead of run powershell commands, so you delete the part of StdoutRead() and ProcessWaitClose(). For the function _Randomize(), you could use Chr() function in a For Loop instead of having a predefined subset of chars (and you did repeat <> as well). You may use something like this (untested): For $i = 1 To $intPasswordLenght Step 1 $strPassword &= Chr(Random(33, 126, 1)) Next Obviousely, in this case you include few more chars than you did in your chars subset, but it shorten the code a little bit
    1 point
  9. What's New in Version 0.2021.4.22 Fixed: timestamp URL changed, so updated to a working URL, and moved the value from internally hard coded, to the INI file where it can be changed without having to recompile.
    1 point
  10. Hi Friends we're made new Login UI in AutoIt for those who like design. Watch full video (youtube) Link Download Source code: <snip> (p.s. Source code full free you can do anything with it) Please subscribe me on Youtube. Thanks : )
    1 point
  11. Sounds like an opportunity to learn something.
    0 points
×
×
  • Create New...