Move Mouse to Image Questions
Posted: Tue Apr 18, 2023 5:01 pm
Hello,
I'm using the Move Mouse to Image Action for many parts of a task I'm creating and I had a few questions that I am confused on even after testing it for a couple of weeks.
1st: Does the Move Mouse to Image Action start from pixel x: 0 y: 0 or does it start the search from the coordinates that the image was found on and if that is the case that it does start from where the image was found, does it check from those coordinates until it gets to the last pixel on the bottom right of the screen or does it go back to the top at 0, 0 and work it's way back down until it gets back to the Start Search From coordinates?
Reason for question: the task I'm creating is based on a website that updates every few weeks to few months and it causes issues when they move things a few pixels left or right or up or down and it will return false when it's on the screen so I wasn't sure if I should move the Start Search from 0, 0 if it meant it would check the entire screen for that image to move the mouse to.
2nd: I've tested this about a month ago but I tried adding a variable to the start search from fields that would change the value of the Y axis for up and down to go down further on the page since there maybe multiple instances of the same image and I wanted to know the image position for that 2nd instance to click on it but it always only showed the first image instance's position instead of the 2nd one even when I changed the Y axis value to go lower than the first image instance.
3rd: In the Additional tab, The tolerance (2..20): x. I wanted to know how this works a bit more, if this makes the image more easily recognized by robotask but comes with the disadvantage of another image possibly being recognized instead of the correct image or if this allows the action to go on for longer to find the image on the screen and what not.
4th: For the Move Mouse to Image Action, I have a few actions that look for an image with specific word(s) on them since you can't highlight them on the page for doing clipboard actions to check them that way so I have the Move Mouse to Image to find if that specific word(s) are on the screen and return true or false if it appears or not to do something else. Is it recommended that for this example that I add some space around the word it looks for if available on the page or would it find it easier, the smaller the image is?
Thank you for taking the time to read and answer these questions!
I'm using the Move Mouse to Image Action for many parts of a task I'm creating and I had a few questions that I am confused on even after testing it for a couple of weeks.
1st: Does the Move Mouse to Image Action start from pixel x: 0 y: 0 or does it start the search from the coordinates that the image was found on and if that is the case that it does start from where the image was found, does it check from those coordinates until it gets to the last pixel on the bottom right of the screen or does it go back to the top at 0, 0 and work it's way back down until it gets back to the Start Search From coordinates?
Reason for question: the task I'm creating is based on a website that updates every few weeks to few months and it causes issues when they move things a few pixels left or right or up or down and it will return false when it's on the screen so I wasn't sure if I should move the Start Search from 0, 0 if it meant it would check the entire screen for that image to move the mouse to.
2nd: I've tested this about a month ago but I tried adding a variable to the start search from fields that would change the value of the Y axis for up and down to go down further on the page since there maybe multiple instances of the same image and I wanted to know the image position for that 2nd instance to click on it but it always only showed the first image instance's position instead of the 2nd one even when I changed the Y axis value to go lower than the first image instance.
3rd: In the Additional tab, The tolerance (2..20): x. I wanted to know how this works a bit more, if this makes the image more easily recognized by robotask but comes with the disadvantage of another image possibly being recognized instead of the correct image or if this allows the action to go on for longer to find the image on the screen and what not.
4th: For the Move Mouse to Image Action, I have a few actions that look for an image with specific word(s) on them since you can't highlight them on the page for doing clipboard actions to check them that way so I have the Move Mouse to Image to find if that specific word(s) are on the screen and return true or false if it appears or not to do something else. Is it recommended that for this example that I add some space around the word it looks for if available on the page or would it find it easier, the smaller the image is?
Thank you for taking the time to read and answer these questions!