[X-Unix] Hiding apps from the command line

Kirk McElhearn kirklists at wanadoo.fr
Fri Mar 26 04:33:22 PST 2004


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  . .



More information about the X-Unix mailing list