Skip to content

Instantly share code, notes, and snippets.

@kfriend
Created August 31, 2013 03:38
Show Gist options
  • Save kfriend/6396085 to your computer and use it in GitHub Desktop.
Save kfriend/6396085 to your computer and use it in GitHub Desktop.
Apple Script: Ask for password
beep 1
set passwd to ""
display dialog "Please enter your user password" default answer ""
set passwd to text returned of result
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment