Search found 5 matches

by altersu
05 Mar 2024, 19:57
Forum: Scripts and Functions (v2)
Topic: UIA v2
Replies: 375
Views: 54753

Re: UIA v2

@Descolada
I checked the wiki in uia github page and found patterns.
The attachment is the webpage that I need to retrieve IDs.

Is that possibel to get all IDs in red column by using Grid pattern?
by altersu
05 Mar 2024, 03:45
Forum: Scripts and Functions (v2)
Topic: UIA v2
Replies: 375
Views: 54753

Re: UIA v2

@Descolada
Got it.
I will check you video tutorial and try to optimize it, thanks!!
by altersu
05 Mar 2024, 03:23
Forum: Scripts and Functions (v2)
Topic: UIA v2
Replies: 375
Views: 54753

Re: UIA v2

Descolada I fixed the code in your first reply. The second reply showed error: Error: Method RemoveAt not found in UIA.IUIAutomationElement Class. Specifically: RemoveAt 037: msedgeEl := UIA.ElementFromHandle("ahk_exe msedge.exe") 038: students := msedgeEl.FindElement({AutomationId:"form1"}).FindEl...
by altersu
05 Mar 2024, 02:47
Forum: Scripts and Functions (v2)
Topic: UIA v2
Replies: 375
Views: 54753

Re: UIA v2

Thanks for your reply. I use the numeric path because I don't know how to get the IDs by other method. Maybe you can check the attachments and show me how to do it in a better way? I copied the tree from UIAviewer, you can see the path and the ID in red column. The IDs path are listed below: 2,1,1,2...
by altersu
05 Mar 2024, 00:16
Forum: Scripts and Functions (v2)
Topic: UIA v2
Replies: 375
Views: 54753

Re: UIA v2

Hello Descolada I want to retrieve some data from a webpage. The data is student's ID and there are many of them in one webpage. I checked with UIA viewer and founded that they have same Type and different value. I can get one ID by using ElementFromPath. But I cannot get every ID at once. I tried t...

Go to advanced search