Jump to content

Search the Community

Showing results for tags 'uiautomation'.

  • 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


Location


WWW


Interests

Found 8 results

  1. I'm trying to understand the use of TreeWalker and DllCall()s. My ultimate goal is to use TreeWalker to list all children of webpages. I've been working through the files for UIASpy to understand the logic. After a weeks worth of searching for examples I'm still stuck on the reason for the repeated use of DllCalls in most of the functions. Here is an example - the function 'UIASpy_CheckWindows()' (located in UIASpy_Elements.au3) is called from file UIASpy_Gui.au3. In the function the following DllCall is used: DllCall( "user32.dll", "lresult", "SendMessageW
  2. Hello, I'm trying to automate the settings of combo boxes in a program. The combo boxes are child windows of two different windows. They have the similar but different titles so I can locate them using 'WinList('ES 06-20-NT8')'. After I locate the windows I need to change the selection in a combo box on each. I initially tried to use the window handle of the respective windows to create an element for each with '$oUIAutomation.ElementFromHandle( $hWindow, $pWindow )'. The objects will create and I can read the contents of the combo boxes. When I try to change the value using .SetVal
  3. Hello, I'm trying to set a value in a combo box on a Chrome web page. I've checked that the Chrome://accessibility is on and have checked to see that it's working with one of @LarsJ's scripts. I've been able to locate the combo box and expand it. I have then tried to put the contents into an element array. When I check to see if the array is created there is no error. When I check the size of the array with '$oUIElementArray1.Length($iLength1)' the length is zero. I then tried to set the value in the combo box with .SetValue(). No luck. Next I tried to get the combo box items wi
  4. I'm trying to set the slider in a window using RangeValuePattern.SetValue(). The window is used to set the start point for replaying market data in the app NinjaTrader 8. When using the Action window in Inspect.exe I can set a value and the slider responds. When I run a script that selects the slider and uses .SetValue() with the same value the slider does not move. I've tried giving the focus to the slider with no change in results. #AutoIt3Wrapper_Au3Check_Parameters=-d -w 1 -w 2 -w 3 -w 4 -w 5 -w 6 -w 7 ;#AutoIt3Wrapper_UseX64=n ; If target application is running as 32 bit code
  5. I am experimenting with UIAWrappers.au3 from junkew to complete an application which presents absolutely no control information using AutoIT Window Info. While I am able to complete the form successfully, I am not happy with the speed. As a benchmark, the simple Send method occurs in far less than 1-second, but the UIAutomation approach takes 3-seconds. I am wondering whether performance gains may be achieved by specifying the controls more precisely; but I am unsure how to do that. I was able to speed things up a bit by setting $UIA_DefaultWaitTime=0. The controls of interest are 5-level
  6. So, I made this console app--using TreeWalkers of course to walk the UI Tree-- that starts at the root and looks for enabled, active controls--and in piping that to a file, I got this (edited, lots of controls in that list), above. LOL, so, those commands that are stored in memory are control elements! Sweet. this UIAutomation stuff is awesome. @junkew got me into this, blame his IUIAutomation kit. So there is this OLD vb OCX that is super ornery, but his kit can manipulate it, even if it is just SendKeys, So I must build a C# wrapper of my own... LOL this stuff is so cool. I have tried TestSt
  7. Good Morning, I'm trying to use the code I had previously to select an item from a list. I believe I want to "setfocus". However, I'm getting and error and I believe it's my code. I don't know what Global Variables I should be using really - and I'm not sure if "setfocus" is the right function there at the bottom of my code... Thank you all as always!!! Local $hWindow = WinGetHandle("My Application") ; Create UI Automation object Local $oUIAutomation = ObjCreateInterface($sCLSID_CUIAutomation, $sIID_IUIAutomation, $dtagIUIAutomation) If Not IsObj($oUIAutomation) Then
  8. I would like to access a list view object and then get the value for the first child. However, there doesn't seem to be a property value available though it shows in Inspect. I figured it shouldn't be too difficult to add ["FirstChild", $UIA_FirstChildPropertyId]_ to UIAWrappers.au3 and then a Global Variable to CUIAutomation2.au3. However, I'm not sure how you figure out the Id# for this Property. @Junkew Can you help me figure that out?
×
×
  • Create New...