Jump to content

Password Entry (workflows)


Recommended Posts

There's more to securely getting a password than hiding the input. In particular, you need to enable Secure Entry so other applications (like Alfred and TextExpander) can't observe the input.

 

This can be done quite easily in AppleScript. If you open the Snippets setting in Alfred Preferences, you'll notice that it tells you that Secure Entry is enabled when this dialog is active.

set myPassword to (text returned of (display dialog "Enter your password" default answer "" with title "Password" with hidden answer))

 

Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...