Jump to content

Search the Community

Showing results for tags 'array.au3'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • General
    • Announcements and Site News
    • Administration
  • AutoIt v3
    • AutoIt Help and Support
    • AutoIt Technical Discussion
    • AutoIt Example Scripts
  • Scripting and Development
    • Developer General Discussion
    • Language Specific Discussion
  • IT Administration
    • Operating System Deployment
    • Windows Client
    • Windows Server
    • Office

Categories

  • AutoIt Team
    • Beta
    • MVP
  • AutoIt
    • Automation
    • Databases and web connections
    • Data compression
    • Encryption and hash
    • Games
    • GUI Additions
    • Hardware
    • Information gathering
    • Internet protocol suite
    • Maths
    • Media
    • PDF
    • Security
    • Social Media and other Website API
    • Windows
  • Scripting and Development
  • IT Administration
    • Operating System Deployment
    • Windows Client
    • Windows Server
    • Office

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Location


WWW


Interests

Found 3 results

  1. Good Morning AutoIT Geniuses I have version 3.3.14.1. I am experiencing an error with the default Array.au3 or _ArrayUnique I believe it is with this single line in my au3 file...$aUniqueHostname = _ArrayUnique ($array01, 1) SendAndLog("GEN_CSVMinRowLimit01 - Started", $tempzipdir & '\' & $LogFileName01, True) ; CSV Minimum Row Limit (FYI - default was originally set to 5000) $array01 = $twoDarray MsgBox (0, "", "You are here 1") $aUniqueHostname = _ArrayUnique ($array01, 1) ; FYI - The program never makes it to here: MsgBox (0, "", "You are here 2")"C:\Program Files (x86)\AutoIt3\Include\array.au3" (2297) : ==> Array variable has incorrect number of subscripts or subscript dimension range exceeded.: If IsInt($aArray[$iBase]) Then If IsInt(^ ERROR ; Title .........: Array ; AutoIt Version : 3.3.14.1 ; Autocheck of first element If $iIntType = $ARRAYUNIQUE_AUTO Then If IsInt($aArray[$iBase]) Then ==> Array variable has incorrect number of subscripts or subscript dimension range exceeded.: Switch VarGetType($aArray[$iBase]) Case "Int32" $iIntType = $ARRAYUNIQUE_FORCE32 Case "Int64" $iIntType = $ARRAYUNIQUE_FORCE64 EndSwitch Else $iIntType = $ARRAYUNIQUE_FORCE32 EndIf EndIf I don't believe I've ever seen an error in the default au3 files. Is this something I am doing wrong? I'm just trying to run my apps through the new version of AutoIT since the fix was put in for... AutoIt3Help.exe reworked and digitally signedI have looked at bug trackers... https://www.autoitscript.com/trac/autoit/ticket/3110 https://www.autoitscript.com/trac/autoit/ticket/3078 Is this related somehow - what version of AutoIT do you recommend I use? Thanks!
  2. Hi, have here some alternative method to count rows.. I can't use StringSplit coz array is already buided with _StringBetween, some tips pls, Reproducer code: #include <String.au3> #include <Array.au3> #include <IE.au3> $file = @TempDir&'\au3test.tmp' ConsoleWrite('File = '&$file&@CRLF) $oIE = _IECreate('http://autoitscript.com/forum',0,0) _IELoadWait($oIE) $sHTML = _IEBodyReadHTML($oIE) $wFile = FileWrite($file,$sHTML) $nFileHTML = FileOpen($file, 0) If @error then ConsoleWrite('error with FileOpen($file, 0)'&@CRLF) While 1 Local $aArray[10], $aRead = FileReadLine($nFileHTML) If @error then ExitLoop $aSearch = StringInStr($aRead,'<LI><SPAN') If $aSearch > 0 Then $aArray = _StringBetween($aRead, 'href="', '"') _ArrayDisplay($aArray) EndIf WEnd ProcessClose('IEXPLORE.EXE') FileDelete($file) Thanks in advance for any tips. Tedy.
  3. Hello, can someone give me some tips how i can read in _ArrayMax numbers with space? #include <Array.au3> Global $avArray[5] $avArray[1] = "500" $avArray[2] = " 1 450" $avArray[3] = "3" $avArray[4] = "4 998 " $max = _ArrayMax($avArray) MsgBox(0,'',$max) ; result is 500 Thanks in advance.
×
×
  • Create New...