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 08-07-2009, 12:55 PM
jjj jjj is offline
Junior Member
 
Join Date: Aug 2009
Posts: 16
Default the ocr function

i'm trying to extract data from the screen that i can apply to a variable and determine the beginning and the end of a loop.

has anyone used this function with the integration pack yet?
Reply With Quote
  #2 (permalink)  
Old 08-07-2009, 03:35 PM
forumsupport forumsupport is offline
Senior Member
 
Join Date: Apr 2007
Posts: 1,342
Default

Hello,

You can use OCR or Application Integration command to get data off from any screen into Automation Anywhere variable. You can use this variable in loop.

If you can elaborate your requirement, we have help you more witha specific sample task.
Reply With Quote
  #3 (permalink)  
Old 08-07-2009, 04:12 PM
jjj jjj is offline
Junior Member
 
Join Date: Aug 2009
Posts: 16
Default

hi, thanks for the response.

here's the situation. we run reports off a server using remote desktop. because it's an session i cant pick specific data, so i have to rely on the ocr command. when the report runs, the status bar changes from "accessing database" (while running) or "for help, press f1" (report is done running).

i was trying to create a loop while status bar not "for help" delay 200 and recapture the ocr again.

so here is my question.

whenever the ocr command is triggered, does it automatically recaptures the area i first captured to created it? or does it keep the data it was originally captured?

anyway, the loop just goes on forever and it never ends. the strange thing is, it worked the first time i ran it.. but havent since then.

thanks for your help!
Reply With Quote
  #4 (permalink)  
Old 08-08-2009, 09:31 AM
forumsupport forumsupport is offline
Senior Member
 
Join Date: Apr 2007
Posts: 1,342
Default

Hello,

OCR command can extract the data in real time.

You can use Loop While $variable$ includes "accessing database" or Loop While $variable$ does not include "for help, press f1" to wait until the report is done.

We have created a sample task for your reference. To run this task,

. Please copy it under location, 'C:\...\My Documents\Automation Anywhere\Automation Anywhere\My Tasks' fol der.
. Before running this task, keep http://www.tethyssolutions.com/default.htm open.

In this task, OCR command would capture the scrolling area on website and would look for text, "35 things" in it. As soon as the word is found task will come out of the loop.

Hope that helps.
Attached Files
File Type: atmn OCR.atmn (69.0 KB, 3 views)
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 03:44 AM.


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