diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..f2ac45e --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +password.txt diff --git a/unlock.as b/unlock.as new file mode 100644 index 0000000..16041d2 --- /dev/null +++ b/unlock.as @@ -0,0 +1,10 @@ +do shell script "caffeinate -u -t 3" +set theFile to POSIX file "./password.txt" +set theFile to theFile as alias +set theFileContents to paragraphs of (read file theFile) + +tell application "System Events" + keystroke (item 1 of theFileContents as string) + delay 1 + keystroke return +end tell diff --git a/unlock.php b/unlock.php new file mode 100644 index 0000000..d8c9b78 --- /dev/null +++ b/unlock.php @@ -0,0 +1,3 @@ + diff --git a/unlock_action.php b/unlock_action.php new file mode 100644 index 0000000..c85d9dd --- /dev/null +++ b/unlock_action.php @@ -0,0 +1,4 @@ + diff --git a/unlock_finished.php b/unlock_finished.php new file mode 100644 index 0000000..2b19040 --- /dev/null +++ b/unlock_finished.php @@ -0,0 +1 @@ +Thank you!