Password entry

I did this, but I don't know why my function is bad when the input text have the correct pass "hola" here is my code:

//AQUÍ EMPIEZA A CREARSE LA VENTANA DEL PANEL


{
    function myScript(thisObj){
        function myScript_buildUI(thisObj){
            var myPanel = (thisObj instanceof Panel) ? thisObj : new Window("palette","Panel Estudio Voraz",undefined,{resizable:true},{borderless:false});
            myPanel.layout.resize();
            
            res = "group{orientation:'column',margins: 0, spacing: 0,\
                              grp3: Panel{type:'panel',text:'Patterns',orientation:'column',margins: [4,9,4,5], spacing: 1,\
                                                 alignChildren:['center','fill'],\
                                textInput: EditText{text:'',minimumSize:[150,10],properties:{noecho:true}},\
                            },\
                     grp4: Panel{type:'panel',text:'Patterns',orientation:'column',margins: [4,9,4,5], spacing: 1,\
                                                 alignChildren:['center','fill'],\
                                btn: Button{text:'Comprobar',minimumSize:[150,10],properties:{noecho:false}},\
                            },\
                     }";
                     
                     myPanel.grp = myPanel.add(res);
                     

 var pass = myPanel.grp.grp3.textInput.text


myPanel.grp.grp4.btn.onClick = function (){


if(pass == 'hola'){
     alert("TRUE");
    } 
else(pass != 'hola'){
    alert("FALSE");
    }
}
                     
                     
                     
                     
                     
                     
                     
                     
                     
                     
                     //FUNCION QUE DETECTA TODOS LOS PROJECT ITEM Y EN LUGAR DE ASIGNARLE UN NÚMERO DEL INDEX LO DETECTA POR SU NOMBRE
function projectItem(name)
{
  var items = app.project.items;
  i = 1;
  while (i <= items.length) { 
  if (items[i].name == name) 
  {
  return app.project.item(i);
  break; 
  }
  i++;
  }
}

I don't think you need the "(pass! = 'hola')' after the 'else' on 33. Not only is incorrect JavaScript syntax, but your 'if' condition already explains cela. If you really want to keep, I would write line 33 as "ElseIf (pass!". = "hola")"

Tags: After Effects

Similar Questions

  • Lightning invites you to a password entry when trying to complete the addition of my google calendar so I get home and it does not - no error message

    I copy the URL of calenndar private google calendar, walk in the menus on the card of lightning to install and he asks me my google username and password. I go and the box flashes for a second and the password entry is empty - as it does not recognize it.

    Help, please!

    Thank you

    Steve

    I solved the problem. Google sent me a notice saying that my access had been blocked, as an unknown user attempted to open a session. When I open the notification, google suggested I have reduce my safety if I want non-secure apps to access. So, I allowed. Then I added calendar, entered my password, that is.

    Thanks for your help. Just a matter of securities with google - distinct from two-factor authentication - this seems more than a switch of global security permission.

  • I have Firfox 18.0.1. On a single Web site my usercode and password entries are considered not valid. The same words and password work fine in IE and Google.

    On a single Web site my usercode and password entries are considered not valid. The same words and password work fine in IE and Google.

    I found that my Norton Toolbar had been disabled so I enabled it. When I tried the site it worked. Go figure.

  • keyboard - no light during password entry

    When I turn on my Macbook Pro in a dark room, there is no light during password entry.

    The keypad backlight is disabled.

    I tried a SMC reset, but that did not help.

    I helped myself.

    1. installation of Ubuntu Linux on Macbook Pro (clear entire disc) - cancel the installation after the hard disk is partitioned (if it has already copied data)

    2 reset the PRAM + SMC

    3. clean the Install of El Capitan (on USB)

  • Voicemail - automatic password entry

    Someone knows how to make the automatic password entry in the box voice stock when you add commas, your password then the sign #? I can't understand how do in KitKat.

    Try this...

    Dialer > 3Dots (overflow-bottom right) > settings > Voicemail > Setup > * 86, abcd (where "abcd" is your 4-digit password.

  • Password entry screen does not - Acer Aspire V5 - Windows 8

    I started my computer laptop and hit the password entry screen, but I can not connect.
    I'm on an Acer Aspire V5 - 571 running Windows 8
    The cursor is not in the password field.
    I place my cursor, but can't click on anything anyone, nor in the password field.
    The keyboard works because I can use the Fn key to enable / disable the touchpad.
    CTRL Alt Del does nothing, or if I press it twice.
    Cannot click on the power icon, access or "back" button or the enter key.
    Enter key does nothing.

    I have no discs as came installed.

    Have you any suggestions?

    All fixed. At out the battery to restart it without, closed, battery, reboot. Sorted.

  • password entry dialog box

    Hello

    How to create a dialog box to enter password, which is a dialog box that replaces the password with points?

    Thank you

    "> http://www.ni.com/widgets/pnx/1.0/js/up-data.js" >
    Stephen

    1. place the Express VI "Prompt the user for input" on a comic book

    2. set up the inputs you want, IE. text of two entries button "User" and "Password" and an OK and cancel.

    3. click OK to complete the configuration

    4 right click the Express VI and select 'display the front panel '.   Confirm that you want to convert a Subvi

    5. right click on the string of password control and set the "password."

    6. (optional) with the right button of the Express VI on the diagram and choose "display as icon".

    Now you have a Subvi, which will serve as a password dialog box.

  • Can ios10 use 9.3.5 password entry page?

    Updated to 10 of 6 s, 64 GB. I found this slide left leads to another page. Can I set up to use ios 9 password page?

    Simple answer.  N ° it is a new iOS and that's how it works.  Now to access your home page, you press the home button and enter your secret code.  Or you can go to settings > accessibility and set your home button to touch the finger allows you to unlock your phone.

  • How to cancel a delet of a password entry?

    Do things too quickly, I unintentionally highlighted all passwords and them deleted before I could see what I was actually doing.

    How can I undo this action and restore the years of collecitonas password?

    You can try to restore a previous version of the file through the properties of the file signons.sqlite (context menu).

    Don't forget to make a backup copy of signons.sqlite and signons3.txt to avoid such a loss.

  • Compaq mini 110: Compaq mini PASSWORD ENTRY

    Hi guys... I have a problem with my compaq mini 110
    Can anyine CNU93108H8 help me with this problem thank you very much... Enter the CURRENT password problem

    Ralph

    Try: e9lof31uzu

    all are lowercase letters
    third letter is small case L
    fourth letter is small case O
    seventh character is number one

    Concerning

    Visruth

  • How can I deactivate an automatic password entry?

    I want to change a password for automatic sign-in in a password must be entered whenever I go into this account.

    Hi Kosh,

    I thought about it. Problem solved.

    Judy

  • Vista Home Premium, black screen after my login and my password entry

    Hi all

    A month ago I bought a new Dell Inspiron 15 comes pre-installed with Vista Home Premium. Like many others I am now a problem with a "black screen" that hang up the machine after my login and my password. "

    When I start the machine it seems to load normally I do it at the login screen, I select my account (admin) and enter my password. The windows logo appears, and then a status bar starts indicating that the OS is laoding. Shortly after that I get a black screen on (which means that the display is on but list black). I tried to start safe mode, but I get the black screen it so.

    Like others the machine was working great until this point. I was using AVG Free edition and I am always very careful on viruses.

    Can someone help me?

    Thank you

    Travis

    Kindly stop posting the same question.

    Questions are answered as soon as possible.

    http://support.Dell.com/

    As it is only a monthe old, contact Dell Support as soon as POSSIBLE.

    It is under warranty, for all hardware and software problems.

    Report, in case of future problems.

    See you soon. Mick Murphy - Microsoft partner

  • BlackBerry Q5 [help] password entry box appearing NOT at all.

    Actual box to type the password just will not be displayed. My phone cannot be reactivated on my slide the screen up. Everything shows to the top, the noticications of time, emails and text, but when I slide the screen up all the way, I find myself with a gray background and the black bar running through the top of the screen. I had a password on my phone for over 3 months and have not turned off.

    I can't reboot my phone because the power button is broken and so eager glue... meaning that he goes on / off power continuously for hours until I have it move out of place.

    Is it possible to fix this, other that the... wait a full 24 hours, no doubt, since I've just loaded my phone, for the battery to die?

    NotApplicable wrote:

    I can't reboot my phone because the power button is broken and so eager glue... meaning that he goes on / off power continuously for hours until I have it move out of place.

    Is it possible to fix this, other than the wait...

    Restart: With the phone smart BlackBerry turned on, using the keys of volume of the edge side, press on and hold the keys of volume for about 20 seconds and both of the Up, ignoring the initial message of screenshot... the screen go black, reboot.

    Try and see if the password screen you then appear correctly.

  • SystemCredentialsPrompt: how to change the username password entry?

    I am trying to use the SystemCredentialsPrompt as password and check.

    I can get the SystemUiInputField as username and when I try to change it with

    field-> setInputMode (bb::system:ystemUiInputMode:assword);

    the field is not getting the password.

    the other thread didn't help you?

    http://supportforums.BlackBerry.com/T5/native-development/password-and-confirm-password-using-System...

    otherwise, I would say 'normal' SystemCredentialsPrompt + onSubmit opens a normal SystemPrompt, asking the user to confirm their password

  • False 'guest of password entry'

    Hey everybody. Happy Friday!

    I'm working on a new feature to give managers the opportunity to bypass a special protection in extenuating circumstances. In the middle of the execution of the script, if a particular error occurs, a scriptUI dialog box opens and asks how to proceed. The user can select 'override' which will bring up a dialog box in which a manager can enter a password to override. It's the user will be able to see clearly what is type Manager...

    Is there a way to hide (or simply not show) the text is typed in a particular dialog box the same way, that a password field work in general?

    Thanks in advance. =)

    Or you can just use the noecho property that must be set at runtime:

    function test() {
        function getMaskedPassword(charAmt) {
            var str = "";
            for (var i = 0; i < charAmt; i++) {
                str += "*";
            }
            return str;
        };
        var w = new Window("dialog", "Fake Password");
        var s = w.add("statictext", undefined, "Enter Password:");
        var e = w.add("edittext", undefined, "", {noecho:true});
        e.characters = 20;
        e.password = "bingo";  
    
        var btn_ok = w.add("button", undefined, "Ok");  
    
        btn_ok.onClick = function() {
      var match = e.password==e.text;
      alert(match? "Success!" : "Access DENIED" );
      w.close ( Number ( match ) );
        }  
    
      if ( w.show()==1 ) {
      //password is ok so you can go further
      }
    };
    test();
    
  • I can't beyond password entry to update the adobe flash player. I tried my password apple and even used a new adobe password. Nothing works. I have a mac pro. What I do?

    See above question

    What userid & password should I install Flash Player?

Maybe you are looking for

  • Qosmio G30 / G35 - differences of memory, sound, speaker of extreme bass, touchpad?

    I would like to know what European models of G30 European series touchpad LCD, where the calendar is able to show, for example?What is the memory of it, 533 MHz or 667 MHz bus speed? Why is there no subwoofwers in the Qosmio series, in addition to 2

  • Compressor 4.2 and mts video

    I have FCP 7 and Studio Applications, but FCP cannot open a session and import AVCHD 1080 p 50, 1080i50 only! So I think, I buy 4.2 for this compressor when the compressor can convert AVCHD 1080 p 50 in PRORES 422HQ. The compressor in the FCP Studio

  • Disk replacement.

    My XP disc has been accidentally destroyed, but I still have the product key.  Can I replace a download?

  • Runtime error program C:\Progrm my riding Stables\Bin\Win32\Gestuet.exe

    Whenever I want to play the game of thie I get an error message that reads Runtime error program C:\Progrm Files\My Riding Stables\Bin\Win32\Gestuet.exe

  • Standard VGA driver cannot start (code 10) _

    My graphics were a little bit lately and I noticed that a driver does not want to turn on. I uninstalled and reinstalled but still does not work. Device type: display adaptersManufacturer: (Standard display types)Location: PCI bus 2, device 0, functi