Shell scripting?
Comments
-
I've found out how to do what I needed, though there may be better. ways A shell script calling an applescript to simulate the lock keypress does it.
0 -
Our posts sort of crossed.
There's a keypress (control-option-command-L) to lock 1PW, no matter where one is (I mean, can be done while another program is to front). That can certainly be simulated by an applescript, and the applescript can be called by a shell script if one needs to use shell scripts.
Seems to work fine.
0 -
Great! Glad to hear that'll work for you.
0 -
I haven't got the program that calls the script working properly yet, but that isn't a 1PW issue.
I'm trying to use ControlPlane, and it should - once I have it working properly - as soon as I switch my MacBook from mains to battery call the script to lock 1PW
0