sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #57909
[Question #699935]: can VNC connect change SCREEN default ?
New question #699935 on SikuliX:
https://answers.launchpad.net/sikuli/+question/699935
Hi,
I am connecting to VNC and after that I need to prefix all my commands with the screen object returned by the connect call.
Is there a way to set/change the default SCREEN so that I can omit the screen prefix in front of each command ?
What I have:
vs = VNCScreen.start(...)
vs.click(vs.wait("xxx.png",1))
vs.type("xxx")
What I would like :
SCREEN = VNCScreen.start(...)
click(wait("xxx.png",1))
type("xxx")
--
You received this question notification because your team Sikuli Drivers
is an answer contact for SikuliX.