In perspective there is a password field component and i can’t find a way to get a script to run when the enter key is pressed when entering text into this component.
Is there a way to make this work?
In perspective there is a password field component and i can’t find a way to get a script to run when the enter key is pressed when entering text into this component.
Is there a way to make this work?
There is indeed a Password Field Component, and it’s located in the Input Palette.
There is also a way to perform some logic when the Enter key is pressed:
To access this dialog, you should right-click the Text Field or Password Field you are working with and then select “Configure Events”.
Perfect. that works well.
Thank you.
Not working for me in version 8.1.16
Try:
if event.key == '\n':
#do something
@josborn thanks for this post "\n" work perfect for the enter key. For anyone else if it can be helpful, here is what the entire contents of "event" looks like:
Cheers,
Nick