Witness and AppleScript: Using Calendar to set a schedule for your alarm
A lot of users are asking about the possibility of setting up a schedule for Witness, auto-arming the alarm at specific times every day. We have not yet implemented such a feature, as we feel this would make the app much more complex, but there is a solution for those in desperate need of a schedule. All you'll need is Calendar, and a script to tell Witness to activate the alarm.
Step 1: the script
You can activate Witness with AppleScript using the following command:
tell application "WitnessUserAgent" to activate
This will activate the alarm on all your Macs (but not on those that have been excluded). To deactivate, you can replace "activate" with "deactivate".
You can download these simple scripts here: https://dl.dropboxusercontent.com/u/19163287/
Step 2: Calendar
Unfortunately, Apple has removed the ability to run a script from Calendar in Mountain Lion, but there is a workaround: you can save the script as an Application, and then choose “Open File” as the alert option when you create an event in Calendar.
Choose “Other” to select the Application file you want to open.
You'll find the scripts saved as Applications in our download link above as well.
Posted by Winnie Trekker @ 5:16 PM |
New recovery stories
We’d fallen a little behind on Undercover’s Recovery stories page, but I have (hopefully) made that up to you by posting a whole batch of testimonials from our users today! Check it out: www.orbicule.com/undercover/mac/recovery.html
You can also find Witness success stories at http://www.orbicule.com/witness/success
Posted by Winnie Trekker @ 4:06 PM |
Witness feature in the picture: Face detection
Do you have a stay-at-home Mac, but a stay-at-home pet as well? If you’re less interested in knowing what your cat is doing during the day, you can set up Witness so it will only trigger the alarm when the camera sees a (human) face. That way you’ll only get alerted when there really is something up.
Go to the Witness Preferences on your Mac (under System Preferences, or via the Witness menu item), and choose the Cameras tab.
At the bottom of this pane, select the option to "Alert me: Only when a face is detected"
Et voila: no more false alerts from Fido!
This option may also come in handy when you have your camera pointed at a moving object, like a ceiling fan or a window with a tree behind it.
Posted by Winnie Trekker @ 12:46 PM |
9 tips for traveling with technology
Apart from using Undercover, how do you keep your Mac and data safe when you’re on the road? Here is some useful advice:
- Avoid using computer bags that look like computer bags. I use a regular backpack to tag my Mac along.
- Save stuff online. iCloud, Dropbox and other web-based services are your friend here. Not only can you use them to access your data anywhere, they provide a place to keep your files out of reach in case your Mac gets stolen.
- Use strong passwords, certainly don’t keep them in the same bag as your Mac.
- Encrypt your sensitive data. Undercover (or other theft-recovery software) is unfortunately not compatible with full-disk encryption, but there are other solutions to keep your (business’) info secure. (Like Knox, for example.)
- If you don’t need that level of security, do take the effort to set up a password for your account. Automatic login may be convenient, but can the thought of a stranger going through your personal files perhaps change your mind about that?
- When you have a theft-recovery application like Undercover installed, you’ll want the thief to be able to go online so the software can gather as much tracking information as possible. Create a separate (honeypot) account without a password. This dummy account will provide the thief an easy way to use your Mac, without access to your personal files.
- Set a screensaver password. Also a bit less convenient, but it will be a comfort to know the thief (or any other creep) can not access the account that you left open while you go to the bathroom at Starbucks.
- Enable the Apple Firmware Password. It will prevent anyone who doesn’t know this password from wiping or replacing your HD.
- Keep an eye on your Mac and keep it as close to you as possible at all times. Take it with you as carry-on luggage when you’re flying. I also always store my backpack under the seat in front of me, and not in the overhead compartments. (I’m tiny, so I usually don’t have any problems with my designated leg room on the airplane. :))
Also have a look at these great tips from whereisjenny.com: http://www.whereisjenny.com/2010/11/28-tips-for-traveling-with-laptop-slr-camera/
Posted by Winnie Trekker @ 11:04 AM |
Get creative with Witness and AppleScript
Witness’ first priority is to alert you when there’s an intruder in your home, and while its setup is simple and it's easy to use, perhaps you still find that something is missing?
With AppleScript it's possible to add an extra bit of functionality to your alarm system, and to make that even easier, we have included a few sample scripts below. You can add these scripts to Witness in the “Actions” tab in the Witness preferences on your Mac (under System Preferences).
Do you already have a great Witness and AppleScript combo set up? Don’t hesitate to share it in the comments!
For those who are just getting started with AppleScript, you’ll find a beginners guide here: http://mac.tutsplus.com/tutorials/automation/the-ultimate-beginners-guide-to-applescript-2/
A script that will play a warning sound (wailing alarm).
This script is ready to use, but you can also adjust it so it plays one of the other sound clips (a barking dog, or how about the one Kevin used in Home Alone?). Or you can use your own sound file. Just make sure the file is in the same folder as the script, and that you replace the name of the file in the script itself, using the AppleScript Editor.
A script that will send an email.
Here you will need to open the script in AppleScript Editor, so you can replace the variables with your own email address.
Other tips, ideas or suggestions? Let us know in the comments below!
Posted by Winnie Trekker @ 10:04 AM |