On 3/26/04 1:15 PM, "Eugene Lee" <list-themacintoshguy at fsck.net> wrote: > > #!/bin/sh > osascript <<END > tell application "Finder" > set visible of every process whose visible is true and name is not "Finder" > and name is not "$1" to false > end tell > END This works, but returns the following: $ hido 144:147: execution error: Can't get end. (-1728) Any ideas? Kirk My latest book: How to Do Everything with Mac OS X Panther http://www.mcelhearn.com/htde.html . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . kirk at mcelhearn.com | http://www.mcelhearn.com . . . . . . . . Kirk McElhearn | Chemin de la Lauze | 05600 Guillestre | France . .