Here's a nice little function for you all: -
define $isInstanceLoaded(#pProcessName) {
comment("PURPOSE: Returns true if there is already and instance loaded ********")
divider
set(#_processCount,0,"Local")
set(#_isLoaded,$false,"Local")
add list to list(%_processes,$list from text($plugin function("Advanced Shell.dll", "$shell batch hidden", "cmd.exe /c tasklist"),$new line),"Don\'t Delete","Local")
loop($list total(%_processes)) {
if($comparison($find regular expression($next list item(%_processes),#pProcessName),"= Equals",#pProcessName)) {
then