Jump to content
  1. AdrianG001


  • Similar Content

    • By Fehera
      We have a desktop application that have dozens of pop up windows. I can find the windows very easily and control the application using the Control functions, however, I came across a control that I can't get the text out of it. 
      According to the Window Info tool this control is a "listControl" which looks to me as a listview. (Attached images)
      I've tried the below:
      WinActivate("Sales Orders") Local $txt = ControlListView("Sales Orders", "", "listControl1", "GetText", 10, 1) ConsoleWrite('@@ Debug(' & @ScriptLineNumber & ') : $txt = ' & $txt & @crlf & '>Error code: ' & @error & @crlf) ;### Debug Console Local $stext = ControlGetText("Sales Orders", "", "listControl1") ConsoleWrite('@@ Debug(' & @ScriptLineNumber & ') : $stext = ' & $stext & @crlf & '>Error code: ' & @error & @crlf) ;### Debug Console Local $hwnd = ControlGetHandle("Sales Orders", "", "listControl1") Local $test = _GUICtrlListView_GetItemTextArray($hwnd) _ArrayDisplay($test) Local $hwnd = WinGetHandle("Sales Orders") ConsoleWrite("! " & _WinAPI_GetWindowInfo($hWnd) & @CRLF) _ArrayDisplay($hwnd) Please note, I've tried using the "listControl1", "[NAME:listControl1]", ID of the control, Class of the control, but the output is the same.
      And the output is: 
      Starting file test.au3... @@ Debug(8) : $txt = 0 >Error code: 1 @@ Debug(11) : $stext = >Error code: 1 ! test.au3 -> Exit Code: 0 (Runtime: 4.07 sec)  
      Unfortunately this system is not under our control and get this list in a separate (csv, excel) report would be painful, so I try to grab this information from this List control.
      I'm not waiting for a fully working code here, but could please someone point me in the right direction? I might just don't see the obvious here. 
      Many thanks in advance. 

    • By rudi
      very propably this has been asked before, well, I miss the thread(s) ...
      Is there a command line switch to tell the SciTE setup EXE to install silently ("/S") *AND* to end up with "edit" (instead of "run") as system wide default action for *.au3 files?

      As it can be done with the config tool:
      Regards, Rudi.
    • By NiceBoy1234
      What is the best way to install a .air file with autoit?
      So far the programs understand if a usb driver is plugged in and opens the path which holds the .air file and runs it.

      I tried to install it using tabs and other keys but that is problematic.
      Could be there a solution to install in via command line or something where I can change things like installation location like in the normal installation?
    • By afallenhope
      Hello all!
      I have run into a bit of trouble with a project that I am working on. I currently have an autoit file calling a  java script to  go out and retrieve the latest install of X from an FTP Server. It works great! Well the problem I am running into now is since the file I grab is zipped I have to unzip so then I can run the installation for X. I thought I had found a way using 7-zip but I keep getting an error even if I try to run the installation myself saying "Error: Error loading XML file.. This application will now close." If I extract the files using windows explorer I am able to install the program. 
      I have my autoit file calling this .bat file and as a result I am unable to load from the unzipped folder due to this error loading XML file.
      cd "C:\Program Files (x86)\7-zip"
      7z e "C:\Users\NTS User\Documents\AutoInstall\XInstall.zip" -o"C:\Users\NTS User\Desktop\Autoit\X" -y
      Am I missing something with this? If anyone could provide insight I would deeply appreciate it. Thanks again! 
      P.S. If I forgot to include anything just let me know! 
    • By dushkin
      Hi all,
      I need to supply a silent\quite installation of the Autoit setup autoit-v3-setup.exe. How can I achieve that?
      Thank you.
  • Create New...