Jump to content

Search the Community

Showing results for tags 'SelectString'.

  • 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


Member Title


Location


WWW


Interests

Found 1 result

  1. New here - only just started working with AutoIt for the first time last week. I am using AutoIt to automate several different executables/Install Wizards, most of which are from printer manufacturers to install their drivers and select the one you want to create printers (Windows 7). I've completed about 4 of these so far. I have finally come upon my first ListBox - except according to Window Info, it is a "TEPListBox.UnicodeClass." Have no idea if that makes a difference or not. I have searched the Wiki here and searched many other forums - almost all seem to be about how to create your own GUIs with ListBoxes, but I'm finding very little on selecting a single item from a ListBox. This window has two ListBoxes - the first one is a "TListBox" with just one option, so I don't have to worry about that. The 2nd ListBox is this "TEPListBox" with about 120 printer names listed. I just need to select/highlight the printer name we need and then hit the "Next" button, but I guess maybe I'm using the wrong commands (with what I could find online). Here is the Summary of the Window Info for this 2nd ListBox: >>>> Control <<<< Class: TEPListBox.UnicodeClass Instance: 1 ClassnameNN: TEPListBox.UnicodeClass1 Name: Advanced (Class): [CLASS:TEPListBox.UnicodeClass; INSTANCE:1] ID: 2294372 Text: Position: 248, 148 Size: 233, 121 ControlClick Coords: 76, 72 Style: 0x54210941 ExStyle: 0x00000200 Handle: 0x0000000000230264 >>>> Mouse <<<< Position: 715, 564 Cursor ID: 0 Color: 0xFFFFFF >>>> StatusBar <<<< >>>> ToolsBar <<<< >>>> Visible Text <<<< &Exit &Help &Next > < &Previous &Change location... >>>> Hidden Text <<<< And here are some of the commands I've tried: ControlCommand ("Selecting The Printer", "", "[CLASS:TEPListBox.UnicodeClass; INSTANCE:1]", "SelectString", "ZDesigner LP 2844") ControlCommand ("Selecting The Printer", "", "[CLASS:TEPListBox; INSTANCE:1]", "SelectString", "ZDesigner LP 2844") ControlCommand ("Selecting The Printer", "", "[CLASS:ListBox; INSTANCE:1]", "SelectString", "ZDesigner LP 2844") ControlCommand ("Selecting The Printer", "", "[CLASS:ListBox]", "SelectString", "ZDesigner LP 2844") Highlight just stays on the first option in the ListBox with all of these, so not sure where to proceed. Or is ControlCommand just not the way I want to go here? One other thing - there is a lot of text in this window, but what's listed as "Visible text" is just the text in each of the four buttons below. There is "Printers" above this ListBox (the "P" is underlined), but that is not listed as a "Visible text" for this window and I'm not sure why. Thank you
×
×
  • Create New...