Here is my code..Real Simple
process = "outlook";
processes = Window.EnumerateProcesses();
for j, file_path in processes do
file = String.SplitPath(file_path);
if (String.Lower(file.Filename)) == process then
Input.SetText("Input1", "Yep its running");
elseif (String.Lower(file.Filename)) ~= process then
Input.SetText("Input1", "Nope NOT Running");
end
end
However, even if the outlook process is running it always says nope not running. I can change the process to look for to something like explorer and it works or even ams50 and it works. It seems like certain processes work while others do not.. Any assistance greatly appreciated..
Thanks
process = "outlook";
processes = Window.EnumerateProcesses();
for j, file_path in processes do
file = String.SplitPath(file_path);
if (String.Lower(file.Filename)) == process then
Input.SetText("Input1", "Yep its running");
elseif (String.Lower(file.Filename)) ~= process then
Input.SetText("Input1", "Nope NOT Running");
end
end
However, even if the outlook process is running it always says nope not running. I can change the process to look for to something like explorer and it works or even ams50 and it works. It seems like certain processes work while others do not.. Any assistance greatly appreciated..
Thanks
Comment