Ask Different is a question and answer site for power users of Apple hardware and software. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I use Synergy to share my mouse and keyboard across different computers.

Now i want to lock and unlock the screen of my mac. I have activated corners, so when i move my mouse at the left corner of my screen, it gets dark.

But when i want to unlock the screen, nothing happens! My Mac doesn't recognize any mouse movements or keyboard actions.

I need to lock & unlock the mac screen for testing purpose.

Is there any script command which can lock and unlock my screen by itself?

For example: lock my screen for 5 secondes, and unlock it again after this period of time.

share|improve this question
up vote 1 down vote accepted

You may be able to work something together in automator but I am not too familiar with that app.

I would check and see if you have wake for network access on. In System Preferences->Energy Saver there is a checkbox to "wake for network access". If that is unchecked it is unlikely your computer will respond since I believe that app is based on Networking

[UPDATE]: Doing a quick search it appears other users are experiencing this issue with synergy and lion. take a look here

share|improve this answer

Your Answer


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.