Introduction
Overview
Download
Purchase
Contact
Help

SecuritySpy

AppleScript Examples

Introduction

AppleScript is the a scripting language that is widely supported by Macintosh applications and used to automate tasks. SecuritySpy understands many commands to capture images, set cameras to passive and active mode, and set various settings. You write scripts using the "AppleScript Editor" application in the /Applications/Utilities/ folder (Mac OS X 10.6 and later) or using the "Script Editor" application in the /Applications/AppleScript/ folder (earlier systems).

To view the AppleScript commands supported by SecuritySpy, open AppleScript Editor, select Open Dictionary from the File menu, and select SecuritySpy. Click here for an image of this dictionary.

Regular Image Capture

This script demonstrates a regular image capture. The script tells SecuritySpy to capture one frame every 10 seconds from camera number 0, and saves it to disk into a "Captures" folder created on the Desktop, with a set file name depending on the current date and time.

Click here to download the AppleScript file.

Triggering Motion-Detected Recording

This script simulates motion on camera 0. This could be useful to trigger a recording based on an external sensor such as a switch, infra-red sensor or doorbell.

 

Introduction | | Overview | | Download | | Purchase | | Contact | | Help