Update Password Generator.txt Now has Popup with password

This commit is contained in:
Narsty
2023-06-03 16:45:02 -05:00
committed by GitHub
parent c1cc6d3222
commit 903db24253
+3 -10
View File
@@ -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