Of course, as soon as I sent the script I discovered that my trimming and adjustments in order to get it to fit neatly into a narrow-ish email window had introduced a small bug. The alert in the 'tell' block should read
<<event miscdosc>> "Alert \"Ready to export castlibs to " & out & "\"" Duh! Hope someone finds it useful/interesting. Brennan [To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list, email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo. Thanks!]