Update for initial code
This commit is contained in:
parent
0291da191e
commit
1d754db4e4
|
@ -0,0 +1 @@
|
|||
password.txt
|
|
@ -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
|
|
@ -0,0 +1,3 @@
|
|||
<?php
|
||||
header("Location: unlock_action.php");
|
||||
?>
|
|
@ -0,0 +1,4 @@
|
|||
<?php
|
||||
echo shell_exec("osascript './unlock.as'");
|
||||
header("Location: unlock_finished.php");
|
||||
?>
|
|
@ -0,0 +1 @@
|
|||
Thank you!
|
Loading…
Reference in New Issue