Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Mouse Scroll
#1
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.
#2
Code:
Copy      Help
MouseWheel(-1)
#3
Want to zoom web page in Internet Explorer?

Macro IE zoom
Trigger F12     Help - how to add the trigger to the macro
Code:
Copy      Help
;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
#4
Thank you both, this was very much help.


Forum Jump:


Users browsing this thread: 1 Guest(s)