Set Password
Asked by
Hossain Abeer
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
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Hossain Abeer
- Solved:
- Last query:
- Last reply:
To post a message you must log in.