Jump to content

Search the Community

Showing results for tags 'uia'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • 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


  • 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


  • Forum FAQ
  • AutoIt


  • Community Calendar

Find results in...

Find results that contain...

Date Created

  • Start


Last Updated

  • Start


Filter by number of...


  • Start






Found 15 results

  1. I have tried to combine several PropertyConditions with CreateAndConditionFromArray without success. According to Microsoft's api instructions, SafeArray needs to be used, and I don't understand how to use it. Can someone give an example of using CreateAndConditionFromArray?
  2. I have a project in mind that I would like to share. I would like to create example windows with standard elements like ComboBox, ListView, some Button, some text, some edit field. Nothing special just simple Window.Net form that can be created with this following UDF: or this one: The main idea is to easily provide possible modifications to the "Testing GUI Window", and no need for any other tool than the AutoIt + SciTE kit. Such "Testing GUI Window" will be very useful later on topic/threads/projects like: As I am not very familiar with NetFramework, I wou
  3. Hi, I am trying to catch closing of a window via the UIA. End goal is to detect closing of a Chrome's tab, but currently I am having issues with the window created with GUICreate. I have modified example from UI Automation Events . I added GUI to show issues. Inside this GUI AutomationEventHandler is attached to all buttons. There are two buttons created by the script. One displays the message while the other closes the GUI. There are also buttons from the title bar. I attached automation event handlers to those buttons too. Currently script notifies me if I click on "OK" bu
  4. Hello , I am trying to fetch data and control a Windows Program. The data isn't reflected in the Au3Info tool , hence used SimpleSpy UIA , for trying. The code is able to fetch only one row at a time. Most Strangely , the code doesn't retreive the same specified row consistently. If I run the same code , under same circumstance , it is still fetching different rows. This was when op2 and op3 were zero. I would not like to use this at all. Also , it takes 3 seconds for it search down the hiearchy and reach the row. I will need to fetch ALL the rows continuously for 6
  5. Good morning, all. I am having a very hard time figuring out why my code "breaks" every second (and every time after) iteration in the loop. I am trying to automate the process of filling out a form for work. I need to find and send data to seven fields and get data from one field. Here are a couple of pictures of the fields I am interacting with. The fields are on the same forum/page. (the green boxed ones) Here is my code so far. #AutoIt3Wrapper_Au3Check_Parameters=-q -d -w 1 -w 2 -w 3 -w- 4 -w 5 -w 6 -w- 7 ;Allows for the c
  6. Good morning, I am having a hard time figuring out how to read or get the valve (628850) from the red squared box in the picture below. Here is what I have tried so far. (see code below. Also, I'm very sorry my code is sloppy.) #AutoIt3Wrapper_Au3Check_Parameters=-q -d -w 1 -w 2 -w 3 -w- 4 -w 5 -w 6 -w- 7 ;Allows for the combining of UDFs by disabling error messages. (I get error messages for "problems" that dont actually exsist) #include <AD.au3> ;Allows Active Directory functions #include <Array.au3>
  7. Good evening! Can somebody help me with getting text from wpf controls. With a help of inspect.exe I found element selector and now I need to get text from some button and assert that text is as expected?
  8. Good Evening Everyone Long time since I've been in the forums - missing AutoIt and programming dearly - but on with the question... I hope this one is easy I am using SimpleSpy / UIAWrappers.au3 to automate an application. I basically have a "Stop" button that I am waiting to change from UIA_IsEnabled:= <False> to UIA_IsEnabled:= <True> How do I check for the UIA_IsEnabled condition ? Of course SimpleSpy gives all the details of GUI elements... but what code do I use to just check the GUI "Stop" buttons UIA_IsEnabled condition? Local $oUIElement=_UIA_getObjectB
  9. I'm building a fake WinForms GUI that I'm using to test. In one instance, it has a panel with a number of text elements. I have the inspect.exe output of the real target UI that I'm trying to automate, but I'm trying to build a fake one now that emulates it so I can more easily test. The problem is the order of the text elements in the pane is different, and I'm having a helluva time trying to figure out how to set the order -- if that's even possible. The WinForms TabIndex property doesn't do it. There is no Index property on it otherwise. I'm worried it may not even be possible, so
  10. Hey there, i have the code from simplespy but have no idea about what to use, got the UIA_V0_64 files. I look at the examples but i get lost, i ask for guideance in this matter. Best regards. To get to this window simply run: control.exe /name Microsoft.DefaultPrograms /page pageFileAssoc select a filetype and click "change program"
  11. Consider the following image. I'm interested in all of the text elements embedded in the last pane called "Power Container". Unfortunately, this pane is embedded in 8 other panes with the same name and no other identifying characteristics. I think I can get to the target pane using indexrelative. Local $powerContainer = _UIA_getObjectByFindAll($cPowerMain, "controltype:=UIA_PaneControlTypeId;Name:=Power Container;indexrelative:=8", $treescope_subtree) If Not IsObj($powerContainer) Then Return ConsoleWrite("Could not find Power Container pane") So, now I hav
  12. Hi, If I'm reading the code in UIAWrappers.au3 correctly, the function _UIA_getObjectByFindAll( ) uses the UIElement.FindAll with the true condition, so it would find any elements that match the treescope passed in. This populates an array, and then it iterates through them and tries matching the properties that were passed into _UIA_getObjectByFindAll and returns the first element that is the best match. I understand one can use the index or relativeindex properties to target a specific child, let's say when you have a panel that has a bunch of edit fields. If you know the specifi
  13. I have a winforms app with multiple tabs on a tab control, and I'm trying to tab to one of them. I'm trying to use the Invoke pattern but it is not working. Apparently a tab doesn't implement invoke? What other pattern can I try? #include "../uia/UIA_V0_64/UIAWrappers.au3" #include "../uia/UIA_V0_64/CUIAutomation2.au3" AutoItSetOption("MustDeclareVars", 1) Example() Func Example()     ; Get Handle to the application     Local $hWindow = WinGetHandle("Service/STG")     If Not $hWindow Then Re
  14. I am parsing the rows of a tree control, but the parent window's title is variable along the lines of Local $oP4=_UIA_getObjectByFindAll($oP5, "Title:=List: Items (1);controltype:=UIA_PaneControlTypeId;class:=WindowsForms10.Window.8.app.0.13f082a_r27_ad1", $treescope_children) the (1) may be anything, I was hoping I could partial match with "Title:=List: Items" but this does not work Is there a way to get an object based on a partial title match? Thank you
  15. Good Morning All, I'm using the latest UIA_V0_51 on XP and Windows 7 x64. I'm able to see focus, elements and all options under Windows XP for SimpleSpy - but not on Windows 7 x64. With Windows 7 x64 all I can focus on is the window frame. Very odd. I've tried running simplespy "#AutoIt3Wrapper_UseX64=n" and the app under x32 on the Windows 7 x64 device. Please let me know what I am doing wrong. I believe this is a simple thing I am overlooking... Thank you AutoIT Gurus!!! YOU ARE THE BEST!!! Thanks
  • Create New...