sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #29384
[Question #258146]: Continue when the file exists
New question #258146 on Sikuli:
https://answers.launchpad.net/sikuli/+question/258146
Hello again :-)
1. How to make - the script does not continue until in specified directory (c:\\files) will appears some file, which are contained in the name characters: winrar (*winrar*.exe). If the file is created - script continues. if it do not appear for 20 seconds - back to the top of the while.
2. And another little question, I think it is here asked many times, sorry. How to execute a command (Win CMD shell) directly from the code of Sikuli.
Without:
myapp = App(r"C:\\myapp.exe")
myapp.open()
I need something like that:
runcmd (taskkill /F /FI "WindowTitle eq winrar*")
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.