← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #664446]: Similar Function App.waitVanish('someapp')

 

Question #664446 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/664446

yop posted a new comment:
yes ...but i am not an expert :-)
I looked again the last docs "Sikulix 2014 - 01 2018" (very nice)
i wanted to try the function " "myApp.windows"

for exemple -1-  with Firefox NOT starting and command "if not"
myApp = App('Firefox')
if not myApp.window(): 
      App.open ('gnome-terminal')
wait(1)
--> OK its Working a gnome-terminal Start

for exemple -2- whith Firefox STARTING  and command "if"
myApp = App('Firefox')
for step in range (60):
if  myApp.window(): 
      wait(1)
App.open ('gnome-terminal')
Not OK --> a gnome-terminal starting immediatly.

Regards

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.