ratboy90

macrumors 6502
Original poster
Apr 15, 2009
321
7
I'm looking for an app that can lock my Mac when I disconnect my USB drive. Has to work on Mountain Lion. Any suggestions?
 

Weaselboy

Moderator
Staff member
Jan 23, 2005
31,803
11,502
California
I don't know of an app that directly does this, but I believe you could use the app Control Plane to accomplish this. Have the app watch for a specific USB drive to disconnect, then have that launch a script to lock the machine?

Here is the Applescript you would need.
 

ratboy90

macrumors 6502
Original poster
Apr 15, 2009
321
7
I don't know of an app that directly does this, but I believe you could use the app Control Plane to accomplish this. Have the app watch for a specific USB drive to disconnect, then have that launch a script to lock the machine?

Here is the Applescript you would need.

Hmm that seems pretty interesting. I came across the app Rohos Logon and I have the trial but its quite expensive for what it is. This seems a better alternative.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.