Display dialog with password field

Hi,
does anyone know how i can use the…

display dialog "Enter your password:" default answer "anyone can see this :("

how can i make the input field a password ‘secure’ field so it is a password input.

i need something like

display dialog "Enter your password in the secure field" default answer "hidden with ***'s"

thanks if you can help me!

Hi,

plain AppleScript has a boolean hidden answer parameter of display dialog


display dialog "Enter your password in the secure field" default answer "" with hidden answer

but AppleScript Studio has not