← Back to team overview

sikuli-driver team mailing list archive

[Question #649155]: Set Password

 

New question #649155 on Sikuli:
https://answers.launchpad.net/sikuli/+question/649155

Hi,

I am trying to set password on starting the program. It would prompt a window, ask for a password, then do its operations. I have used the following commands:

yes = popAsk("PassWord?", "Program")
if not yes:
    popup("Please enter Valid password", "Program")
    exit(1)


ok = input("Enter Validity Code:", "15-digit code", "Program")
input = (" ")
if not ok:
    exit(1)

popup("Program starts now!", "Program")

Problem: The program accepts just about anything on input, and lets anyone access.

Thank you for your time
Hossain Abeer

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