Jump to content

Search the Community

Showing results for tags 'progresson'.

  • 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


Member Title


Location


WWW


Interests

Found 2 results

  1. I am using the following code to create a Gui and a progress bar that I can minimize: Global $Home = GUICreate("Intake", 1366,768, 192, 114, BitOR($WS_MAXIMIZEBOX,$WS_MINIMIZEBOX)) ProgressOn("Processing...", "Backing up", "Please wait...", 0, 0, $DLG_MOVEABLE + $DLG_NOTONTOP) This works, but the part that I'm trying to fix is that there is a GUI where you press the button to kick off the progress and I'm wondering if there is a way to nest the progress bar into that gui so its movable, but when I minimize the GUI, the progress window also minimized (same for if its clicked... pull both the GUI and progress window up together). Right now, I get the Gui window and no Progress window on the task bar, but when I alt+Tab i can see both. This makes it so sometimes the progress bar is pushed to the background and the GUI sits on top preventing you from seeing the progress window. Any easy way of doing this?
  2. Hi all. The following script gets a list of users from a csv file and then adds them into Active Directory. $SelectedFile = "C:\Temp\Users.csv" $csv = 0 _FileReadToArray($SelectedFile, $csv) ProgressOn("Csv import", "Adding and creating users", "Please wait...", 16) For $i=1 to Ubound($csv)-1 Sleep(200) $record=StringSplit($csv[$i],",") $sCommonName = $record[3] & " " & $record[2] $sUser = $record[1] _AD_Open() $iValue = _AD_CreateUser($sOU, $record[1], $sCommonName) _AD_Close() ProgressSet($i, "User: " & $record[1] & " successfully added") Sleep(200) Next ProgressSet(100, "Users imported successfully.") Sleep(750) ProgressOff() This works, however what I am trying to achieve is a more accurate percentage bar. Somehow, the script should work out the amount of lines in the csv file, turn the number of lines into 100% and for each user move the percent bar. I.e., if there were 100 users, the percent bar would move by 10% for every user added. Any help greatly appreciated. Although all I can offer is a smiley face
×
×
  • Create New...