It’s a custom script that make sure a server to decide if the laptop is stolen, and send data if it is required. I also wanted to do the similar thing, and I have ended up resolving it by utilizing a small AppleScript magic. I did not even believe to look at the screen capture man page. Mainly, I have formed an AppleScript with the following contents:
Code:
set cmd to "/usr/sbin/screencapture -x -tjpg /tmp/screen.jpg > /dev/null 2>&1"
do shell script cmd
Of course you are able to modify the screen capture choices and the path of the resultant image file if you desire. So you just do this in to the Script Editor and after it save this as an application bundle, with none of the options checked.
Bookmarks