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 01-02-2008, 07:22 AM
marcgallant marcgallant is offline
Member
 
Join Date: Jul 2007
Location: Dieppe, New Brunswick Canada
Posts: 46
Default IF Window DOES NOT Exist problem

I have a task that is looking for a certain window to open. In my IF statement, I specify to wait for 30 seconds but it goes into it as soon as it reaches it. First thing is that it shouldn't go into it cause the window DOES exist, but it also doesn't wait for 30 seconds. Is it because I use a wildcard (*) in the window title?

This is the text:
- If Window Does Not Exists("*by Vimsoft - [Assets By Model, Manufacturer And Area]") Then (Wait up to 30 seconds - for Window not to exist)
- Log to File: reason_failed=Could not open the report in under 60 seconds in "C:\Program Files\Vimsoft\VIMBIZ\reason_failed.txt"
- Stop The Current Task
-End If
Reply With Quote
  #2 (permalink)  
Old 01-02-2008, 09:08 AM
marcgallant marcgallant is offline
Member
 
Join Date: Jul 2007
Location: Dieppe, New Brunswick Canada
Posts: 46
Default

I played with this a bit and it is because of the wildcard in the window title. If I remove it it works fine. The problem for me is that my window title changes alot since I use it with 3 different databases which changes the window titles.
It also doesn't work if I store the Window title in a variable, and then use the variable itself for the window title. It just always goes into the IF statement no matter what.

Last edited by marcgallant; 01-02-2008 at 09:20 AM.
Reply With Quote
  #3 (permalink)  
Old 01-02-2008, 09:20 AM
forumsupport forumsupport is offline
Senior Member
 
Join Date: Apr 2007
Posts: 1,342
Default

Hello,

This issue has already been fixed in the upcoming release. It should be out in 3-4 weeks.

Hope that helps!
Reply With Quote
  #4 (permalink)  
Old 01-02-2008, 09:22 AM
marcgallant marcgallant is offline
Member
 
Join Date: Jul 2007
Location: Dieppe, New Brunswick Canada
Posts: 46
Default GREAT news

Do you know if they fixed the part where it doesn't work with a Variable as the window name? I just tried that and it is not working.
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 09:06 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