sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #04542
Re: [Question #167670]: Account switiching problem
Question #167670 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/167670
Status: Answered => Open
aaysh is still having a problem:
in this code which is the main code to switch accounts
users = (("user1", "password1"), ("user3", "password2"), ("user3", "password3"))
for user in users:
login = find("yellowish-word-Login.png")
click(login.getCenter().below(50))
type(user[0])
click(login.getCenter().below(90))
type(user[0])
click(login.getCenter().below(120))
i mean this code will give sikuli my user id and pass
which code is used to switch accounts
and in proper order and how sikuli will know which account is open
can u create a proper example with this code as i am newbie i am not
that good with sikuli
this is the code i wanna integrate it with
for m in range(45): ------------> so that error wont occur
if exists ( ):
click( )
sleep(2)
else:
click( )
sleep(42)
rightClick( )
sleep(3)
click( )
sleep(5)
click( )
sleep(2)
click( )
sleep(5)
please provide code i would be very thankfull
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.