03-26-2023, 03:55 PM
[quote pid='19664' dateline='1326799441']
Regards,
Mike
[/quote]
Code:
I had a General Run error when trying to get
hWnd = Browser("hwnd:=" & hWnd).Object.hWnd
In another forum I came across this code: (automationrepository)
and it worked without getting to the .Object.hWnd
Hope it might help someone.
hwnd = Browser("CreationTime:=0"").GetROProperty("top_level_hwnd")
Window("hwnd:=" & hwnd).Maximize
Regards,
Mike
[/quote]