2

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.

2
  • 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. Aug 4, 2013 at 13:54
  • 1
    How exactly this is a bad idea? And how exactly, removing authentication is a better idea?
    – Dzh
    Aug 4, 2013 at 22:05

2 Answers 2

2

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.

-1

I use TokenLock to unlock my screen when my iPhone is within bluetooth range.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .