Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Displays the autoText menu below caret point
#2
I tested PE current version (free) on Win11. In PS it shows menu at mouse position.

AccessibleObjectFromWindow fails.

Code:
Copy      Help
print.clear();

//wnd.find(1, "LibreAutomate", "HwndWrapper[Au.Editor;*");
wnd.find(1, "Administrator: Windows PowerShell ISE", "HwndWrapper[powershell_ise.exe;*").Activate();

500.ms();
if (miscInfo.getTextCursorRect(out var r, out var w2)) print.it(r, w2);
else print.it("failed");

print.it(wnd.focused);
var e = elm.fromWindow(wnd.focused, EObjid.CARET, EWFlags.NoThrow | EWFlags.NotInProc); //AccessibleObjectFromWindow
print.it(e.Rect);


Messages In This Thread
RE: Displays the autoText menu below caret point - by Gintaras - 11-20-2022, 06:10 AM

Forum Jump:


Users browsing this thread: 2 Guest(s)