Jump to content

Search the Community

Showing results for tags 'next'.



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

Categories

  • Forum FAQ
  • AutoIt

Calendars

  • Community Calendar

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 4 results

  1. Good Morning AutoIT Gurus and Masters Slightly complicated array here... and infinite loop that I'm trying to output to a file after the values are matched up; then anything that doesn't match is deleted from the array and finally written to a file... This guy does an infinite loop... and I'm not sure why... I tried to put in message boxes - but there are 20K records so I couldn't click through that many. LOL. #RequireAdmin #include <array.au3> #include <file.au3> #include <Excel.au3> #include <MsgBoxConstants.au3> Global $WXYZArray01, $array01, $ProgramTitle, $sleeptime, $k01 $ProgramTitle = "Testing 1 2 3" $sleeptime = 1000 _FileReadToArray(@ScriptDir & "\" & "testing_output_csv_unique_values.csv", $array01, "", ",") ;_ArrayDisplay ($array01, "Array01") $aUniqueHostname = _ArrayUnique ($array01, 1) ;_ArrayDisplay ($aUniqueHostname, "UniqueHostname ") For $i01 = Ubound($aUniqueHostname) - 1 to 0 Step - 1 For $j01 = Ubound($array01) - 1 to 0 Step - 1 If $array01[$j01][1] == $aUniqueHostname[$i01] and StringRegExp($array01[$j01][5], "MY_VALUE") then MsgBox(0, "Computer and MY_VALUE", $aUniqueHostname[$i01] & " : " & $array01[$j01][5]) $FileName01 = @ScriptDir & "\" & $array01[$j01][3] & "_" & $aUniqueHostname[$i01] & "_" & $array01[$j01][2] & ".csv" MsgBox(0, "File Name", $FileName01) $WXYZArray01 = $array01 _ArrayDisplay ($WXYZArray01, "WXYZ Array") SplashTextOn($ProgramTitle, 'Generic - Please wait for loop to complete...', 400, 40, -1, -1, 2, "", 10) Sleep ($sleeptime) For $k01 = 0 To Ubound($WXYZArray01) - 1 ; MsgBox (0, "In the WXYZ loop", $WXYZArray01[$k01][1] & " : " & $aUniqueHostname[$i01]) If $WXYZArray01[$k01][1] <> $aUniqueHostname[$i01] Then ;MsgBox (0, "In the WXYZ loop - Delete", $WXYZArray01[$k01][1] & " : " & $aUniqueHostname[$i01]) _ArrayDelete($WXYZArray01, $k01) ;_ArrayDisplay ($WXYZArray01) $k01 -= 1 EndIf If $k01 = UBound($WXYZArray01) - 1 Then ExitLoop Next SplashOff() MsgBox (0, "Out of the WXYZ loop", "Out of the WXYZ loop - File Write From Array") _FileWriteFromArray($FileName01, $WXYZArray01, 1) ExitLoop EndIf Next Next I'm hoping someone here can tell me why at a glance... I'm a little burned out to see the answer... feeling toasty LOL Thank you everyone for your help!
  2. Hi i am trying to click on the next button in a setup that i need to use, only problem is it is not responding. Below the code and the info: $TITLE = "Setup - Lenovo Slim USB Keyboard Driver for Windows 7/XP/Vista" $SUB = "Welcome to the Lenovo Slim USB Keyboard Driver for Windows 7/XP/Vista Setup Wizard" WinWait($TITLE, $SUB) If Not WinActive($TITLE, $SUB) Then WinActivate($TITLE, $SUB) WinActive($TITLE, $SUB) Sleep(100) ControlClick($TITLE, $SUB, "[ID:264262]") Sleep(100) ControlClick($TITLE, $SUB, "button1") Sleep(100) ControlClick($TITLE, $SUB, "TNewButton:1") Sleep(100) ControlClick($TITLE, $SUB, "TNewButton1") Sleep(100) ControlClick($TITLE, $SUB, "[CLASS:TNewButton; INSTANCE:1]") Sleep(100) ControlClick($TITLE, $SUB, "[CLASSNN:TNewButton1]") Sleep(100) Send("{enter}") Sleep(100) ControlSend($TITLE, $SUB, "", "{enter}") I tried every way i could think of to click on the next button. Probably a couple of stupid attemds but you cant blame me for trying. >>>> Window <<<< Title: Setup - Lenovo Slim USB Keyboard Driver for Windows 7/XP/Vista Class: TWizardForm Position: 2219, 415 Size: 503, 389 Style: 0x16CA0000 ExStyle: 0x00010100 Handle: 0x00000000001F066E >>>> Control <<<< Class: TNewButton Instance: 1 ClassnameNN: TNewButton1 Name: Advanced (Class): [CLASS:TNewButton; INSTANCE:1] ID: 461326 Text: &Next > Position: 327, 327 Size: 75, 23 ControlClick Coords: 29, 14 Style: 0x54010001 ExStyle: 0x00000000 Handle: 0x0000000000070A0E >>>> Mouse <<<< Position: 2578, 782 Cursor ID: 0 Color: 0xE8E8E8 >>>> StatusBar <<<< >>>> ToolsBar <<<< >>>> Visible Text <<<< Welcome to the Lenovo Slim USB Keyboard Driver for Windows 7/XP/Vista Setup Wizard This will install Lenovo Slim USB Keyboard Driver for Windows 7/XP/Vista version 1.10.0.0 on your computer. It is recommended that you close all other applications before continuing. Click Next to continue, or Cancel to exit Setup. &Next > Cancel Hope you guys can point me in the right direction... *EDIT*: After posting i see that the ID of the button changed, that is strainge and don't blame my wrong number in the script please
  3. Hi all, A fast question, i need to make a For...Next, like this: For $x = 1 To 6 MsgBox(0,0, $x) Next But i want to make a version with zero like this: 01 02 03 ... 09 10 11 and one like this: 001 002 003 ... 009 010 011 ... 099 100 I have try to make the 0 before the variable but i have 010 011 in the first version and 0010 0011 in the second. Some suggestion? Thanks
  4. Hi, i have a for and can't stop it, using ExitLoop i don't see any reaction.. For $oLink in $oLinks $check = _StringBetween($oLink.href, $x1, $y1) If not @error Then $string=_ArrayToString($check) If $a = $string Then ExitLoop ; ==> HERE NEED TO STOP ElseIf $a < 9 Then $result = StringLeft($string, 1) Else $result = StringLeft($string, 2) EndIf EndIf Next ; ==> HERE need to go, by ignoring all rest of $oLinks Thanks alot
×
×
  • Create New...