Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
the UIA functionality cannot retrieve the control description.
#4
Using FlaUI
 
Code:
Copy      Help
// script "test FlaUI.cs"
/*/ nuget FlaUI\FlaUI.UIA3; /*/

using FlaUI.UIA3;
using FlaUI.Core.Conditions;

using var uia = new UIA3Automation();

var w1 = wnd.find(1, "CapCut", "Qt622QWindowIcon");
var ew1 = uia.FromHandle((nint)w1);

var condition = new PropertyCondition(uia.PropertyLibrary.Element.FullDescription, "HomePageDraftTitle:0319");
var e2 = ew1.FindFirstDescendant(condition) ?? throw new NotFoundException();
print.it(e2);

e2.Click();


Messages In This Thread
RE: the UIA functionality cannot retrieve the control description. - by Gintaras - 03-19-2025, 02:29 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)