Intelligent Automation & Macro Software  

Go Back   Tethys Solutions 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 10-11-2007, 09:30 AM
terrymartin terrymartin is offline
Junior Member
 
Join Date: Oct 2007
Posts: 13
Default Waiting for window to close

I have setup a task with:

1) Open a text file
2) Wait for window (the text file) to close (wait up to 60 seconds before going on)
3) wait 500 ms
4) Open application

When the task runs it does not wait for the 60 seconds to see if the window is closed. It just goes right through it

Why?
Reply With Quote
  #2 (permalink)  
Old 10-11-2007, 09:46 AM
forumsupport forumsupport is offline
Senior Member
 
Join Date: Apr 2007
Posts: 522
Default

Hello Terry,

That is probably because it executes the first command and then immediately goes to the second one.

By the time it comes to the second command, the text file window hasnt opened yet and hence the condition is satisfied (i.e. window closed) and no need to wait for 60 seconds.

If you put a delay of 1 or 2 seconds between the first and second command, that would give enough time for the text file window to open.

Hope that helps!
Reply With Quote
  #3 (permalink)  
Old 10-12-2007, 04:53 PM
terrymartin terrymartin is offline
Junior Member
 
Join Date: Oct 2007
Posts: 13
Default

Yes

I figured that out for my self.

Thanks
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

vB 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 06:39 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.0.0 ©2007, Crawlability, Inc.
Copyright © 2003-2008 Tethys Solutions, LLC. All rights reserved