Closed somanuell closed 1 year ago
Hi durs, some proprietary scripting environment are able to create Excel documents that, alas, do NOT show up in the ROT. BUT, if you use the Win32 API AccessibleObjectFromWindow with the correct HWND, you'll get a good IDispatch!
This PR add a new "getaccessibleobject" option. If you provide the Window Text instead of the ROT name, all works fine. Tested Ok with node 32 bits v14.21.3 and Excel 16.0.15601.20578 on Windows 11 Enterprise 64 bits 22H2
If they are able to return an IUnknown via the Win32 API: AccessibleObjectFromWindow