This has the default keyboard short cut of crtl + cmd + Q The Lock Screen for keychain no longer is available in current version of the MacOS Mojave & High Sierra.Īpple have now add a Lock Screen Menu item in the Apple menu. Id instance = init] Ĭlang -framework Foundation main.m -o lockscreenĮxecute the program by typing. NSBundle *bundle = Ĭlass principalClass = # Do our work in the temporary directory that gets cleaned on boot You can create a small binary for locking your screen by pasting this into your terminal. This solution works perfectly as long as Apple doesn't change the relevant parts in the keychain menu plugin. Today I just had some time to play around and found a way to programmatically actually call the functionality from the keychain menu plugin. I was also looking for a solution for this. Note: This solution is unique in that it uses the Keychain Access menu bar status functionality, but it does not require you to enable the Show keychain status in menu bar option as the AppleScript methods do.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |