[Sikuli-driver] [Question #234119]: How to use switchApp() to check whether the specified

2013-08-15 Thread Parn Yin
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

Re: [Sikuli-driver] [Question #234119]: How to use switchApp() to check whether the specified

2013-08-16 Thread RaiMan
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

Re: [Sikuli-driver] [Question #234119]: How to use switchApp() to check whether the specified

2013-08-16 Thread Techno.Scavenger
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

Re: [Sikuli-driver] [Question #234119]: How to use switchApp() to check whether the specified

2013-08-16 Thread Techno.Scavenger
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

Re: [Sikuli-driver] [Question #234119]: How to use switchApp() to check whether the specified

2013-12-15 Thread Parn Yin
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,