Hi.. Total noob here- bought Macro scheduler pro few days ago and getting used to it
My problem is that I have successfully located Multiple buttons that I need to press in a certain website
However most of the buttons are out of reach far down below on the screen- in a place that needs scrolling for it to show up
I tried image recognition to search for the images but since it's identical images I tried EXACT to locate multiple images- however for some unknown reason this turned up nothing: I have tweaked all the sensitivity variables and tested it on different screen: it just doesn't seem to work on this website
So now I resort to UIgetvalue to locate multiple items in attempt to click them sequentially- however most of the button's y value is way below my screen capacity: thus it just keep on moving and clicking on the taskbar below my screen...
I want to avoid having to press PgDn or End button to move, locate, press the button since it will offset the value I've collected with UIGetValue..
Plz help my brain is turning to mashed potatoz.....
TLDR: Need to press multiple identical Subscribe button on a website- most of the buttons are hidden in the lower part of the screen where scrolling down is needed.
Imagecapture failed
---------
SetFocus>Webinar - Internet Explorer
UIGetValue>{"Webinar - Internet Explorer"},{"Apply"},curVals,Positions,nHeight
Separate>Positions,|,parts
IF>PARTS_COUNT>0
let>q=1
Repeat>q
Separate>parts_%q%,COMMA,xys
let>xys_1=xys_1+8
let>xys_2=xys_2+8
MouseMove>xys_1,xys_2
MClick
wait>1.0
let>q=q+1
Until>q>PARTS_COUNT
Endif
-----
0:POSITIONS=558,897,70,25|870,897,70,25|1183,897,70,25|558,1289,70,25|870,1289,70,25|1183,1289,70,25|558,1681,70,25|870,1681,70,25|1183,1681,70,25|558,2073,70,25
Clicking buttons in IE that needs scrolling down
Moderators: Dorian (MJT support), JRL
- Grovkillen
- Automation Wizard
- Posts: 1131
- Joined: Fri Aug 10, 2012 2:38 pm
- Location: Bräcke, Sweden
- Contact:
Re: Clicking buttons in IE that needs scrolling down
Use IE commands instead of screen recognition.
- Dorian (MJT support)
- Automation Wizard
- Posts: 1386
- Joined: Sun Nov 03, 2002 3:19 am
- Contact:
Re: Clicking buttons in IE that needs scrolling down
GrovKillen is right. Experiment with the IE Element Wizard. It will click those below-the-fold buttons.
Yes, we have a Custom Scripting Service. Message me or go here
Re: Clicking buttons in IE that needs scrolling down
Thanks! I'll try that!!