New question #234119 on Sikuli:
https://answers.launchpad.net/sikuli/+question/234119
I want to use switchApp() to check whether a specified window in my company's
application is opened or not.
The goal is:
If it's opened, script continue.
If not, throw an exception.
I don't want to use e
Question #234119 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/234119
Status: Open => Answered
RaiMan proposed the following answer:
Sorry, currently no other option with Sikuli's features.
--
You received this question notification because you are a member of
Sikuli Dri
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
Question #234119 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/234119
Techno.Scavenger posted a new comment:
Ok, looks jython behaves different with respect to pipes... you can try
this.
import subprocess
px = subprocess.Popen("tasklist",stdout=subprocess.PIPE)
py = subproces
Question #234119 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/234119
Status: Answered => Solved
Parn Yin confirmed that the question is solved:
Thanks RaiMan, that solved my question.
--
You received this question notification because you are a member of
Sikuli Drivers,
5 matches
Mail list logo