Update Password Generator.txt Now has Popup with password
This commit is contained in:
@@ -14,22 +14,13 @@ STRING terminal
|
||||
DELAY 500
|
||||
ENTER
|
||||
DELAY 500
|
||||
STRING echo "USB Script Utility"
|
||||
ENTER
|
||||
DELAY 500
|
||||
STRING echo "-------------------"
|
||||
ENTER
|
||||
DELAY 500
|
||||
STRING echo "Generating Password..."
|
||||
ENTER
|
||||
DELAY 500
|
||||
STRING password=$(openssl rand -base64 12)
|
||||
ENTER
|
||||
DELAY 500
|
||||
STRING echo "Generated Password: $password"
|
||||
ENTER
|
||||
DELAY 500
|
||||
STRING echo "-------------------"
|
||||
STRING osascript -e 'tell app "System Events" to display dialog "Generated Password:\n\n'"$password"'" with title "Generated Password" buttons {"OK"} default button 1 with icon note'
|
||||
ENTER
|
||||
|
||||
|
||||
@@ -38,3 +29,5 @@ ENTER
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user