Question

2
Replies
382
Views
Ryan Schofield (Ryan____)
Endsleigh

Endsleigh
GB
Ryan____ Member since 2016 21 posts
Endsleigh
Posted: March 8, 2017
Last activity: March 9, 2017
Posted: 8 Mar 2017 6:42 EST
Last activity: 9 Mar 2017 6:16 EST
Closed
Solved

How to detect if an application is already running

Hi,


I am trying to use the Try Catch component in Openspan studio, to catch a "Chrome Already Running" exception. I have read the help article here, which mentions that you can select an exception from the list, however I cannot find the exception I am getting. Please could somebody advise how I can identify the correct exception to meet my needs?



This is the exception I am trying to catch:



Thanks,


Ryan


EDIT: I have changed the Title of this article to better assist people in future on similar issues.


From Jeffs advice below, I found a script online which does the job. You can replace "chrome" with any application you like, as it appears in task manager, minus the ".exe"

Hi,

I am trying to use the Try Catch component in Openspan studio, to catch a "Chrome Already Running" exception. I have read the help article here, which mentions that you can select an exception from the list, however I cannot find the exception I am getting. Please could somebody advise how I can identify the correct exception to meet my needs?

This is the exception I am trying to catch:

Thanks,

Ryan

EDIT: I have changed the Title of this article to better assist people in future on similar issues.

From Jeffs advice below, I found a script online which does the job. You can replace "chrome" with any application you like, as it appears in task manager, minus the ".exe"

Robotic Process Automation
Moderation Team has archived post, This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.