Is someone borrowing your desktop Mac? Hop on your laptop and issue the following (adjusting the IP address to fit):
ssh 192.168.0.3 osascript -e ‘set volume 7’ -e ‘say “Boo!”‘
It’s quite startling. It might even be worth writing a mobile app to do that surreptitiously. 🙂
If I just ssh login, I can execute the osascript command and get the audio out of my desktop. But when I try sending the command as part of the ssh, I get “execution error: Can’t make current application into type“. Should still be fun to “Boo” the iMac from afar though.
I used to use this trick to “remind” someone his computer time was up… 🙂