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"