i was wondering if any can help me or send me to the right path on creating a number pad to be use as a login screen to my media player.
Creating a number to login the my media player
Collapse
X
-
You could setup a Page in AMS that would contain Images of the numbers for your keypad and then overlay Hotspot objects (they are transparent) and then from there you can use some AMS code to script out a password setup. Here is an example password check code chunk:
Code:-- the 'correct' password real_password = "password"; -- prompt the user to enter a password user_password = Dialog.PasswordInput("Password", "Please enter the password: ", MB_ICONQUESTION); -- compare the user's password to the 'correct' password. -- If the user supplies the wrong password, exit the program. if real_password ~= user_password then Page.Jump("Page1"); else Page.Jump("Page2"); end
Intrigued
-
-
Number key login
Originally posted by Intrigued View PostYou could setup a Page in AMS that would contain Images of the numbers for your keypad and then overlay Hotspot objects (they are transparent) and then from there you can use some AMS code to script out a password setup. Here is an example password check code chunk:
Code:-- the 'correct' password real_password = "password"; -- prompt the user to enter a password user_password = Dialog.PasswordInput("Password", "Please enter the password: ", MB_ICONQUESTION); -- compare the user's password to the 'correct' password. -- If the user supplies the wrong password, exit the program. if real_password ~= user_password then Page.Jump("Page1"); else Page.Jump("Page2"); end
Comment
-
-
Help!!!
Originally posted by Intrigued View PostYou're welcome. I hope your project goes well.
Comment
-
Comment