Jump to content

Search the Community

Showing results for tags 'iuia'.

  • 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 2 results

  1. The documentation on the tree scope even on Microsoft's site https://msdn.microsoft.com/en-us/library/windows/desktop/ee671699(v=vs.85).aspx isn't exactly clear to me. Let's say there's this hierarchy desktop ├── app │ ├── elem1 │ ├── elem2 │ ├── elem3 │ │ ├── elem4 │ │ └── elem5 │ ├── elem6 │ ├── elem7 │ │ ├── elem8 │ │ │ └── elem9 │ │ ├── elem10 │ │ │ └── elem11 │ ├── elem12 │ │ ├── elem13 │ │ └── elem14 I'm mainly interested in only $treescope_descendants, $treescope_subtree, $treescope_children, since I think the others aren't supported. Can someone indicate what the explicit differences are? My guess is _UIA_getObjectByFindAll($app, <selector-that-matches-elem5>, $treescope_children) would fail to find elem5 because elem5 is not a direct child of $app, but _UIA_getObjectByFindAll($app, <selector-that-matches-elem5>, $treescope_subtree) would because it will descend down recursively from all children rooted under $app. Is that a correct statement? If so, can someone explain what $treescope_descendants is for? It sounds like $treescope_descendants is the same as $treescope_subtree but it does not include the top-level element you're starting the search from, whereas $treescope_subtree does include that top-level element and all descendants recursively.
  2. I have a script I write as .au3 which uses the IUIA wrapper functions. It is working, but I need to invoke it from a C# WinForms app. I see there is AutoITX dll that exposes the scripting language to C#/.NET, but I think I can import UDF functions like IUI wrapper using that, can I? I think the best option I suppose is to just Invoke the built .au3 executable from C#. This only presents a challenge to get the return values from the script. The script scrapes info out of a legacy Windows app that I need. I can probably dump this to a file (ugly) or perhaps pass the info through stdio stream (less ugly). What are other people doing who need to integrate with .NET apps?
×
×
  • Create New...