Intelligent Automation & Macro Software  

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

Workspace Macro Pro - Automation Edition Post messages and questions related to Macro Software for Windows Automation here.


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 08-04-2009, 01:10 AM
zordan zordan is offline
Junior Member
 
Join Date: Aug 2009
Posts: 2
Default Checking if a software is running or not

Hi,

I would like to automate a macro under the condition that a certain software is not running. Basically I have a Java based software that shuts down every day at a random time between 2300 and 0300 EST. I would like Workspace Macro Pro to check whether this specific software is running (e.g., every 5 minutes) and, if not, run a specific macro to restart it. I made the macro to restart it but I don't know how to check every 5 minutes if the software is running or not.

Thanks to anyone who can help!
Reply With Quote
  #2 (permalink)  
Old 08-04-2009, 08:11 AM
forumsupport forumsupport is offline
Senior Member
 
Join Date: Apr 2007
Posts: 1,342
Default

Hello,

If any window remains open when Java based software is running then in your macro that you have already created, insert 'If Window Does not Exists' command and inside If-Endif block put command to restart the application. You can set this macro to repeat after every 5 minutes using Repeat property under Properties window at bottom .

Alternatively, try using our advanced automation product, Automation Anywhere 5.5 that provides 'If Application running' or 'If Application not running' command to check if specific application on computer is running or not and you can take the action accordingly like start the application again using 'Open Program/File' command if application is not running. You can set this task to repeat after every 5 minutes by setting the repeat option, 'Repeat until I stop using Esc key' and set time between repeats as 5 minutes.

You can download free version of Automation Anywhere 5.5 from our website:
Automation Anywhere - The Leading Automation Software

Hope that helps.
Reply With Quote
  #3 (permalink)  
Old 08-05-2009, 11:40 AM
zordan zordan is offline
Junior Member
 
Join Date: Aug 2009
Posts: 2
Default

thanks. i now have another issue: the macro does not work when I am logged off the VPS. is this normal?
Reply With Quote
  #4 (permalink)  
Old 08-06-2009, 08:05 AM
forumsupport forumsupport is offline
Senior Member
 
Join Date: Apr 2007
Posts: 1,342
Default

Hello,

If you are using RDP, then with RDP it is a known issue with any automation software that when you minimize or close the window, it does not work as expected. Can you please try using VNC software(In place of RDP)?

With VNC, you can keep the VNC session minimized or closed and the macro would work as expected.

You can find VNC software from the following link:
RealVNC - Download VNC software
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 On
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -7. The time now is 05:21 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