![]() |
| |||||||
Automation Anywhere Post messages and questions related to Automation Software here. |
![]() |
| | LinkBack | Thread Tools | Display Modes |
| |||
|
Its me again... In a script I am running I am telling it to highlight some text on a webpage with the purpose of copying this specific text to the clipboard. This works over 99% of the time perfectly, but every so often it will move the mouse but nothing will highlight. If I just stop and restart the script it will highlight perfectly without any type of page refresh or anything else. I stay on the same page the entire time for hours with my script, sometimes highlighting the same area of the screen as many as 1000 times and it may only have this problem 1 time every couple days. The code I am using is: Delay: (1000 ms) Mouse Click: Left Button (430, 500) in Currently Active Window (clicks a button on the webpage to increment a counter) Delay: (5000 ms) Mouse Click: Left Button Pressed Down in Currently Active Window (have a location set here of 250,250) Delay: (300 ms) Mouse Move: (250,250) To (600,722) Delay: (300 ms) Mouse Click: Left Button Pressed Up in Currently Active Window (have a location set here of 600,722) Delay: (3000 ms) It highlights the text between 250,250 and 600,722 almost every time. The problem is it needs to highlight it every single time. What could be causing this? I have delays between every command and even before and after the mouse clicks and moves. Any help would be appreciated. |
| |||
|
Hello, We would like to suggest editing Mouse Click command to perform the action relative to window. Please follow the steps given below: 1) Double click on Mouse Click command. 2) Click on 'Advanced' button. 3) From 'Relative To' frame select option 'Window' and save the command. 4) Perform the above steps for every Mouse Click command in question. Hope this helps. |
![]() |
| Thread Tools | |
| Display Modes | |
| |