Hi,
Instead of looping all the processes through finder, I need to check directly if a particular process is running or not. If not then do nothing and if yes then continue with some logic.
Thanks.
Hi,
Instead of looping all the processes through finder, I need to check directly if a particular process is running or not. If not then do nothing and if yes then continue with some logic.
Thanks.
tell application "Finder"
if (get the name of every process) contains "Script Debugger" then
say "Script Debugger is running"
end if
end tell