[X-Unix] Hiding apps from the command line

Kirk McElhearn kirklists at wanadoo.fr
Fri Mar 26 08:37:30 PST 2004


On 3/26/04 5:28 PM, "Michael Grant" <soft at bdanube.com> wrote:

> I'm getting "cannot execute binary file" here. I checked and the script
> file is executable for all users. Line endings are Unix. No one else
> seems to be having this problem--any idea what might be wrong?

What did you create the script file with?
> 
> BTW in this line:
> 
>>    if "$1" is "a"
>>         set visible of every process whose visible is true and name is
>> not "Finder" and name is not "$1" to false
> 
> shouldn't the second occurrence of $1 actually be $2?

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