sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #20031
Re: [Question #234119]: How to use switchApp() to check whether the specified
Question #234119 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/234119
Techno.Scavenger posted a new comment:
If you are on Windows, you can do something like:
import subprocess
p = subprocess.Popen('TASKLIST /FI "IMAGENAME eq notepad.exe" | findstr notepad',shell=True)
p.wait
if(p.returncode == 0):
do something
else:
do other stuff
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.