Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

In my attempt to start iPlayer and BBC News every morning, I have scheduled Automator to open a page. It does work, however my Mac stays locked, therefore I need to get out of my bed and enter the password and then set iPlayer to run fullscreen.

The second can be probably overcome by setting to click at x,y coordinates. However, I wasn't able to find anything on how to authenticate the user. Perhaps I should send sequence of key presses?

I am running 10.8.

Thanks.

share|improve this question
2  
I would not suggest to do that. Either remove the login or enter the password yourself. Having a software doing this for you is a bad idea. –  Matthieu Riegler Aug 4 '13 at 13:54
1  
How exactly this is a bad idea? And how exactly, removing authentication is a better idea? –  Dzh Aug 4 '13 at 22:05
add comment

1 Answer

It is not possible anymore in OSX 10.8 the only option I can think of is to disable your password from the lock screen manually in:

System Prefs > Security > General > Require password

But you have to have fileVault disabled as well maybe below then does work for 10.8?

Edit: I've tested the code below in OSX 10.8 and below doesn't work for 10.8 :(

So make sure this runs before the rest ( and maybe even add a location check to disable authentication when you are at home or connected to your wifi network )

In applescript:

tell application "System Events"
    set require password to wake of security preferences to false
end tell

or

do shell script "defaults write com.apple.screensaver -int 0"

To enable the settings again use true or 1.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.