Using RevRdist with AppleScript

By: James Reynolds - Revised: 2006-06-08 devin

Introduction

An overview of the hard disk management software, and other related utilities used to enhance RevRdist's functionality.

To find out about RevRdist, see our RevRdist page.


Why use RevRdist with AppleScript?

The RevRdist application can mount only one volume. AppleScript can mount more than one volume, which is useful since distfiles can reference files from multiple volumes (we store software and master images on two separate volumes).

If RevRdist cannot find the volume (or distfile) to use, it displays an error dialog which waits indefinitely for user response. AppleScript can check the network before launching RevRdist, and even try multiple network protocols (i.e. TCP/IP as well as AppleTalk), and simply quit if the connection fails.

RevRdist's automatic run mechanism is limited (it must run on startup and/or only if a specified interval has elapsed). AppleScript can decide whether to run RevRdist based on complex checking of the time, date, and machine status. A startup script can be used to trigger a RevRdist run at the specified interval, while other scripts can be used to run RevRdist on demand.

If the "RevRdist Prefs" file is missing, RevRdist displays an error dialog which waits indefinitely for user response. AppleScript can check to make sure the prefs file exist before launching RevRdist, and simply quit if it does not.

You can set up backup servers so that if your primary server goes down, you can mount the backup (this feature is not yet included with this script).

See the Table of Contents below for a list of scripts that we use with RevRdist.
 
Table Of Contents
    This script checks that the RevRdist application & preferences exists, then tries to mount the file server volume(s), starts RevRdist and quits.

    This script mounts a volume or volumes that contain the images for RevRdist (it is used in RunRR).

    This script mounts a volume or volumes that contain the images for RevRdist (it is used in RunRR).

    This script displays a RevRdist "status message." The message is the "last modified date" of the RevRdist Log or any errors.