Note however, that most of the scripts that you will find, will make you write and hardcode the account's password, which is not a good idea.
Using pure Scripting like the one used here. I add it here for reference and because someone mentioned it in the comments by Fischer It's been also recommended in the answers you linked. It will also do what you want (shortcut to go to the Login Screen). Simply invoke it, type 'log.' and you already have the option to press enter to go to the login window, can't get much faster than that (you could assign a shortcut to that if you wish).Īlthough I haven't used it in a while, the 'competitor' Alfred + Powerpack had something similar, the command was 'lock' as far as I can remember.īetterTouchTool: recommended by other users (I've seen this app in friend's Macs but never used it myself). You've pointed to different workarounds (I haven't tested those), I'll name a few more:
There are, however, various alternatives to achieve that. OS X Lion doesn't have a way to assign a keyboard shortcut to Fast User Switching (which is going to the Login Window without logging off the current user).