At 16:46 -0400 2001.06.25, Adam Stern wrote:
>   Thanks for all your help with the cli/srv program problem.  I wrote it
>and it works beautifully.  If anyone wants to see the code, just send me
>an e-mail.
>   Now, I just have a quick question.  I want to make the application
>choose the "Hide <myname>" option of the application menu. I'm assuming I
>can use $0 for the <myname> part, but how do I do it.  What I use
>applescript or something else.  What would the code for that be?  Thanks.

Mac::Apps::Launch has a Hide() function.  You can pass it an app signature
or a name.

        use Mac::Apps::Launch;
        Hide('App Name', 1);

-- 
Chris Nandor                      [EMAIL PROTECTED]    http://pudge.net/
Open Source Development Network    [EMAIL PROTECTED]     http://osdn.com/

Reply via email to