sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #58399
Re: [Question #702646]: Optimizing resource usage
Question #702646 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/702646
Status: Answered => Open
cemara is still having a problem:
The workflow is nothing complex,
1. Skype call set for autoanswer.
2. Make call to tablet, Skype autoanswered, a contact window shows up,
3. wait until that call is finished > this part can only be done with GUI based automation since skype has no API handle.
4. So i'm using a call button pic that only shows up during a call session, and wait until that session is finished.
Thus wait and watvanish is needed.
5. Bring home assistant window on top again since that call window wont minimized by itself, also sometimes there is call quality survey window as well, this should be covered too.
I've looked into the waitscanrate but apparently it's used for region,
how would i use it for single image like this?
HomeAssistant = App(r"c:\HA\Home_Assistant.exe")
While True
wait(skype.png, FOREVER)
waitVanish(skype.png, FOREVER)
HomeAssistant.focus()
--
You received this question notification because your team Sikuli Drivers
is an answer contact for SikuliX.