Skip to content

Instantly share code, notes, and snippets.

@0187773933
Last active February 6, 2025 17:15
Show Gist options
  • Save 0187773933/590a397e7ba6af2c050569a25552dfa2 to your computer and use it in GitHub Desktop.
Save 0187773933/590a397e7ba6af2c050569a25552dfa2 to your computer and use it in GitHub Desktop.
Types Username and Password
#!/bin/bash
osascript -e '
tell application "System Events"
-- Type something
keystroke "w036cjc"
delay 0.3
-- Press Tab key
key code 48
delay 0.1
-- Type something else
keystroke "(!)LaMorsa2372(!)"
delay 0.3
-- Press Enter key
key code 36
end tell
'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment