I agree it has a few steps but it’s a one time process and you’d certainly enjoy it.
This was a quick way to set up your iPhone to unlock and lock the Mac with just a simple command. You would be able to unlock your Mac by simply tapping the shortcut or asking Siri to run the unlock Shortcut. It would require your password, so add it in the text field and save your shortcut. You just need to create another shortcut and add macOS: Wake and Log In action to your shortcut. If you want to set up a Siri Shortcut to unlock your Mac with the iPhone, doing it is just as simple. I named my shortcut “lock my mac” and every time I run this shortcut, it will lock the mac. Give your shortcut a name and you’re done. Search for macOS: lock screen in the search bar and tap the action to add it to your Shortcut.
Open the Shortcuts app and tap the + button on the top right corner to create a new shortcut and tap Add Action. You can do a variety of things with this app such as capturing screenshots, toggling apps, and injecting keystrokes. Simply navigate to System preferences> Security and Privacy> Privacy> Accessibility> enable “sshd-keygen-wrapper”. It should prompt a dialog box on your Mac. Enter the details correctly and proceed.Īfter that, we need to enable the accessibility settings on the Mac, to do this, tap the Accessibility button in the app on your iPhone. Now, open the Shortcutify app on your iPhone and tap the Mac option, it would ask you to enter the IP address of your mac and login credentials. To do this, go to System Preferences> Sharing> Enable Remote Login. As you know, Apple uses a number of special symbols for specific keys on Mac keyboards. If you need help finding out your IP address, you can check out this guide here.Īs the shortcut would essentially log in to your computer remotely, you would have to enable Remote Login feature on your Mac first. The following table lists the most useful keyboard shortcuts. Note down the IP Address, we’ll need it later. If you don’t know the IP address of your Mac, go to System Preferences> Network> Your IP Address. This method only works on local Wifi so make sure your Mac is connected to the Wifi. Once you have the apps installed and ready open Shortcutify. Also, make sure you’re running the latest iOS and have the Shortcuts app is installed on your iPhone.
Install Shortcutify on your iPhoneįirst, install the Shortcutify app on your iPhone. Choose either Put Display to Sleep or Start Screen Saver for one of the corners.How to Lock your Mac Screen with an iPhone Go to System Preferences > Desktop & Screen Saver and click the Hot Corners button to assign an action when you move your cursor to one of the four corners of your screen. (For older MacBooks with an optical drive, use Command-Option-Eject.)īoth sleep and lock will turn off your display, but sleep conserves more energy by putting the CPU into low-power mode, spinning down the hard drive and stopping background tasks, among other things. Use Command-Option-Power to put your MacBook to sleep. (For older MacBooks with an optical drive, use Control-Shift-Eject.)
Use Control-Shift-Power to lock your MacBook. There are two keyboard shortcuts that effectively lock your Mac: Click the Apple icon in the upper-left corner and choose Sleep.
Just close the lid and when you open it next, you'll need to enter your password to log back in.Īlso simple. With a password set, the following five methods will lock your MacBook: