Jump to content

Cave

Members
  • Posts

    3
  • Joined

  • Last visited

Everything posted by Cave

  1. Can anyone tell me what the actual command is for using a file as the text of the message? Please fill in the blank with the syntax. Thanks! $TEXT = ????
  2. You are correct; using the ClassNameNN had no effect. I am sure the title is 100% accurate. I copied it from other command functions on that listbox that seem to work (arrow up, down, etc). The listbox is from a "home grown" windows application that we developed from the ground up by our internal MIS software Dept. It is an application written in C++. I don't know anything about the code, but it looks and functions like a standard Windows app to me. The ClassNameNN is "ListBox1" - doesn't that indicate a standard Windows listbox??
  3. I am somewhat new to AutoIT scripting... I've written a few scripts that work well but I am having trouble getting the controlcommand function to work with the "SelectString" argument to select an item in a ListBox. Here is the snipet of my script: WinWaitActive("Select State(s) to Process") ControlFocus("Select State(s) to Process","",1008) ControlCommand("Select State(s) to Process","",1008,"SelectString",'ALASKA') 1008 represents the ControlID of "ListBox1" according to the AutoIT active window utility. When I run this script the Control Focus works but "ALASKA" is not selected from the ListBox of states. Any help would be greatly appreciated! Eventually I want to replace 'ALASKA' in the function with a variable that is obtained from a user response, but I think I can figure that part out on my own.... Thanks!!
×
×
  • Create New...