For the most part the imagesearch works great and with x/y click you dont even need to scroll the page if the image is not visible on the screen.
But there are some sites where x/y click doesn't click but DS click works. Well if the imagesearch finds the image in the visible area of the page then DS click works because coordinates do match. However after you scroll the page with a tag command the coordinates of the Y={{!IMAGEY}} won't be correct for the DS click. It would need some other coordinates to click where you want to.
In other words DS seems to use coordinates relative to the screen area and image search uses coordinates relative to the webpage? Am I correct?
So my question is it possible to use the DS click with imagesearch after scrolling the page?
an example
TAG POS=1 TYPE=STRONG ATTR=TXT:...........................................
DS CMD=LDOWN X={{!IMAGEX}} Y={{!IMAGEY}}
DS CMD=LUP X={{!IMAGEX}} Y={{!IMAGEY}}
after the page has been scrolled the Y coordinates from imagesearch would not be correct for DS click because if the page scrolled down the DS click would click below the image
Please help, it is very important for my work
I need to make macros run on different computers with different screen resolutions, so simply using DS won't work, that's why I'm using imagesearch
Using DS click with imagesearch after scrolling
Forum rules
Before asking a question or reporting an issue:
1. Please review the list of FAQ's.
2. Use the search box (at the top of each forum page) to see if a similar problem or question has already been addressed.
3. Try searching the iMacros Wiki - it contains the complete iMacros reference as well as plenty of samples and tutorials.
4. We can respond much faster to your posts if you include the following information: CLICK HERE FOR IMPORTANT INFORMATION TO INCLUDE IN YOUR POST
Before asking a question or reporting an issue:
1. Please review the list of FAQ's.
2. Use the search box (at the top of each forum page) to see if a similar problem or question has already been addressed.
3. Try searching the iMacros Wiki - it contains the complete iMacros reference as well as plenty of samples and tutorials.
4. We can respond much faster to your posts if you include the following information: CLICK HERE FOR IMPORTANT INFORMATION TO INCLUDE IN YOUR POST
Re: Using DS click with imagesearch after scrolling
Only 2 sites out of 60 have this problem and it seems DS click is not possible to set up so it would work across difeerent computers with different screen resolutions...
-
- Posts: 1483
- Joined: Tue Jan 26, 2010 11:35 am
Re: Using DS click with imagesearch after scrolling
Relative to the current screen, correct.In other words DS seems to use coordinates relative to the screen area and image search uses coordinates relative to the webpage?
What about trying to locate the image (or any other control) with TAG command and then trying !TAGX and !TAGY with DS?So my question is it possible to use the DS click with imagesearch after scrolling the page?
Also, please see this discussion (you know all that already, but just in case).
Best regards,
Daniel, iOpus Support
Re: Using DS click with imagesearch after scrolling
Thanks, I'm going to check that, howewever using TAG won't work with those sites because the links are always different. Still I will try it, could work in some other cases
-
- Posts: 1483
- Joined: Tue Jan 26, 2010 11:35 am
Re: Using DS click with imagesearch after scrolling
Hi,
Most of the times you can still use TAG on even dynamic links, either using wildcards or relative positioning. If you post the html behind those links here and a screen shot, I might come up with a more precise solution.
Best regards,
Most of the times you can still use TAG on even dynamic links, either using wildcards or relative positioning. If you post the html behind those links here and a screen shot, I might come up with a more precise solution.
Best regards,
Daniel, iOpus Support