Burning Sample
Summary: Demonstrates how to burn discs using AppleScript.
Requires: DropDMG 2.7
Description
This script shows how to burn discs using DropDMG and how to inspect the operations that are in progress.
Download in Compiled Format | Download in Text Format
Script
tell application "DropDMG"
-- burn MyFolder to disc
burn file_or_folder "~/MyFolder"
-- burn the contents of the myImage.dmg image to disc
burn disk_image "~/myImage.dmg"
-- inspect the operations
get properties of every operation
end tellRunning the Script
You can use the /Applications/AppleScript/AppleScript Utility program to enable Mac OS X’s built-in Script menu. To run the script, just select it from the menu. FastScripts and the free FastScripts Lite provide a similar menu that supports keyboard shortcuts and other features.