Automated Transfers

This AppleScript uses OffShoot's Disk Added event to automatically start a transfer through the OffShoot API.

How to use

  1. Open the script and edit the settings.

  2. Add the script to the Disk Added event in OffShoot's Settings > Scripting pane.

  3. When a disk is added to OffShoot, the script will check the Volume name.

    • If the volume name contains theExpectedVolumeName the disk is set as Source and transferred to theDestinationPath.

    • If the volume name begins with the first character of theExpectedVolumeParts AND if the volume name contains the last character of theExpectedVolumeParts the disk is set as Source and transferred to theDestinationPath.

This script works best when you disable OffShoot's Auto Source and Remember Destination settings in OffShoot > Settings > General.

Settings

set theExpectedVolumeName to {"UNTITLED", "CANON"}
set theExpectedVolumeParts to {"A_", "B_"} -- will check if volume name STARTSWITH 'A' and CONTAINS '_'
set theDestinationPath to ""
set theLabel to ""
set theFolderFormat to "${DISKTITLE}"

Download

Automated Hedge Transfer Script

Last updated