Thanks alot for the answer, the code from your post work, however, im not able to add a double click once the cursor is moved on the target and i have no idea why.
Left mouse double click, even tried to add a delay to see if that was the problem without any success.
So if someone can explain me why double click with it doesnt work, or simply show me a way to make it work, that would be nice.
Second question is how do i make a specific area rectangular to be scanned
between x y z x.