AppleScript Info

February 2003
Sun Mon Tue Wed Thu Fri Sat
            1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28  
Jan   Mar

contact: rob at donotsell.net

 Tuesday, February 18, 2003
BBEdit 7.0.2

BBEdit is a scriptable, high-performance HTML & text editor for the Macintosh. This update is huge in the number of issues that it addresses. [release notes]
1:19:46 PM    

MacMP3Gain 1.2

MacMP3Gain is an AppleScript Studio application that provides a GUI for the command line version of MP3Gain. MP3Gain analyzes and adjusts mp3 files so that they have the same volume. MacMP3Gain is free and open source. Release notes: Added "Process Sub-folders" option to process all folders below the selected folder.
12:12:32 PM    

TheMacMind: Make an Encrypted Sparse Disk Image

TheMacMind's Cortland Haws takes a look at the hdiutil command line program.

Read the article to see why sparse disk images are almost magical. Using the example command given in the article, here's a simple way to wrap it in AppleScript:
set newDiskName to "SecureSparse"
set newDiskSize to "1g"

set shellCommand to "cd ~/Desktop; hdiutil create " & newDiskName & " -size " & ¬
newDiskSize & " -encryption -type SPARSE -fs HFS+ -volname " & newDiskName

do shell script shellCommand
Note: The example creates a 1GB disk image on the desktop. This can be changed easily by modifying the value of the variable 'newDiskSize'. I feel compelled to repeat the advice given in the article: "For more information on hdiutil, enter 'man hdiutil' in the Terminal."
10:57:31 AM    

Apple: Creating PDF Workflow Options

Apple has posted documentation showing how users can add a menu item to the PDF workflow pop-up menu simply by adding an item to any one of several directories. The type of item placed in one of these directories determines what the item does when the user selects it from the PDF workflow pop-up menu. Items that can be used include a folder or alias to a folder, an application or an alias to an application, a UNIX tool or alias to a UNIX tool, and an AppleScript file or an alias to an AppleScript file. An example is given of a script that opens a new message in Mail and attaches the PDF file created when printing. [MacScripter.net]
8:12:00 AM