Instantly Lock, Unlock Mac With iPhone’s Bluetooth Signal

Locking Your MacHave you ever wished you could just walk away from your Mac and have it lock itself without you doing anything? Or perhaps sometimes you leave your desk and completely forget to lock your Mac? This can be a very delicate situation, since we all have an enormous quantity of sensitive information in our Macs and it can be downright fatal to lose them.

Well, here is a nifty trick that will allow you to use your iPhone’s Bluetooth signal to lock your Mac when you walk away and to wake it up when you return.

Important Note: This process only works for Macs running a version of Mountain Lion

Follow the steps below.

Step 1: Download Proximity, a Mac application that runs scripts upon detection of Bluetooth devices. You can get it from this link. Then, download two Apple scripts that I created for this app. Use this link (UPDATE: This file is not available anymore) to get them in one zip file. Once you do, unzip the scripts and save them anywhere on your Mac, just remember where.

Proximity For Mac

Mac Lock Scripts Zip File

Step 2: On your Mac, open the Proximity app that you just downloaded and it will install an icon in your menu bar. Click on its icon then click on Preferences.

Proximity Preferences

Step 3: Make sure to at least check the Enable device monitoring option and then choose the interval at which you would like your Mac to scan and verify that your iPhone’s Bluetooth is in range (anything between 5 – 10 seconds works for me).

See more:  How to Make World War 2 in Infinite Craft

Preferences

Step 4: Enable Bluetooth on your iPhone. To do so, on your iPhone go to Settings > Bluetooth and turn it ON. Don’t forget to pair your iPhone to your Mac if you haven’t done so in the past.

I Phone Settings I Phone Bluetooth On

Step 5: Add the Apple scripts you downloaded to the Proximity app. On its Preference Pane under AppleScripts click on the Change button beside Out of Range Script. Find the script named Lock Mac from where you placed it and choose it. Do the same for the In Range Script, only this time choose the Unlock Mac script instead.

Preferences Add Scripts

This is how it looks after I added the scripts.

Preferences Scripts Added

Step 6: On the same Proximity’s Preference Pane, click on the Check Connectivity button until your iPhone’s Bluetooth is detected.

Choose Bluetooth

I Phone Detected

Note: If your iPhone is not detected, click on Change Device and select it from the list of available devices

Step 7: Close the Preferences Pane and take your iPhone out of range. Your Mac will lock itself and will wake up the moment you (with your iPhone) come back in range.

That’s it! This is really a pretty nice trick. You can also enable it by simply turning your iPhone’s Bluetooth ON and OFF manually and even have fun playing tricks on your friends, who will not know what is turning your Mac on and off.

Categories: How to
Source: thpttranhungdao.edu.vn/en/

Rate this post

Leave a Comment