0
votes
1answer
1k views

How to lock MacBook with a keyboard shortcut? [duplicate]

Possible Duplicate: Is there a quick way to lock my Mac? I am familiar with using Automator, but I do not know what code should be used to accomplish the feature. Can anyone provide the ...
0
votes
0answers
153 views

How to script detecting locked screen/login session?

I am looking a way for a script (either bash or AppleScript, doesn't matter) to detect whether the state of either the screen or the user login session is locked or not (i.e. the user will need to ...