Posts: 2
Threads: 1
Joined: Nov 2010
Hello I looked around in QM for a bit and couldn't really find a code that I was looking for. What I would like to do is click on an internet window which I can do, then have it scroll to resize the window as if you where using the middle button, but the window doesn't have an id. Also my middle scroll button doesn't work so I can not use the record feature. Any Ideas? Thanks.
Posts: 1,000
Threads: 253
Joined: Feb 2008
Posts: 12,147
Threads: 143
Joined: Dec 2002
Want to zoom web page in Internet Explorer?
Macro
IE zoom
Trigger
F12
;activate IE, and set focus to the web content control
int w1=child("" "Internet Explorer_Server" win("Internet Explorer" "IEFrame"))
act w1
;if mouse is not in it, move into it
if(child(mouse) != w1) mou 10 10 w1 ; int mouseMoved=1
;Ctrl + scroll
key+ C
MouseWheel 3
key- C
;restore mouse
if(mouseMoved) mou
Posts: 2
Threads: 1
Joined: Nov 2010
Thank you both, this was very much help.