I am a new to programming applescripts. The one I am trying to get to work now is supposed to quit my screensaver and enter my password but I can't get it to work no matter what I try. Here's the code.
Anyone have any ideas how to get this to work?
Code:
on run
tell application "ScreenSaverEngine" to quit
tell application "System Events" to keystroke 1 (this is to pull up the textfield for the password)
delay 1
tell application "System Events" to keystroke "MyPassword"
delay 1
tell application "System Events" to keystroke return
end run
Anyone have any ideas how to get this to work?
Last edited by a moderator: