Intelligent Automation & Macro Software  

Go Back   Automation Anywhere, Inc. Forums > Products Zone > Automation Anywhere
Register FAQ Search Today's Posts Mark Forums Read

Automation Anywhere Post messages and questions related to Automation Software here.


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-28-2010, 04:59 AM
ZFalcon ZFalcon is offline
Junior Member
 
Join Date: Feb 2010
Posts: 12
Default Highlight Text Sometimes Fails

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.
Reply With Quote
  #2 (permalink)  
Old 07-28-2010, 02:55 PM
forumsupport forumsupport is offline
Senior Member
 
Join Date: Apr 2007
Posts: 1,342
Default

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.
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -7. The time now is 07:46 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.0.0 ©2007, Crawlability, Inc.
Copyright © 2003-2011 Automation Anywhere, Inc. All rights reserved