Before I outline the problem, I should point out that I'm using Attachmate Extra! basic, which is a cut-down version of Microsoft VB. Feel free to post any VB solutions though, I *may* be able to adapt and use them.
Right, I'm using Internet Explorer's DOM to automate some tasks on various websites, one of which is to do a google search. Code so far:
Dim IE as Object
Appactivate "Google - Microsoft Internet Explorer"
x=ShowWindow(IE.hwnd, 3) '### Maximise window ###
Is there a way to use the IE.hwnd object to perform something like appactivate on it? I've already got it maximised using the IE.hwnd object as you can see above, but maximising does not bring it into focus hence the need for appactivate. I need to use this code on other websites whose windows will have changing titles instead of always being "Google - Microsoft Internet Explorer" - which is why I'd much rather use a better solution than appactivate. Anyone?