Re: script for system Authentication dialog box.
Re: script for system Authentication dialog box.
- Subject: Re: script for system Authentication dialog box.
- From: "selva.ganesan" <email@hidden>
- Date: Wed, 20 Jul 2005 23:26:25 +0530
Hi,
I want to know the way to implement this one.
In system dialogue box it is showing the characters as asterisk.How can i
make it in my dialogue box?
They(system) are using only applescript to show that authentication dialogue
box.
Let me know the script if u have.
Any ideas.
selva.
----- Original Message -----
From: "Andrew Oliver" <email@hidden>
To: "selva.ganesan" <email@hidden>;
<email@hidden>
Sent: Wednesday, July 20, 2005 10:30 AM
Subject: Re: script for system Authentication dialog box.
> On 7/20/05 9:53 AM, "selva.ganesan" <email@hidden> wrote:
>
> > Hi all,
> >
> > I am using do shell script"sudo mkdir /usr/local/bin" with
administrator
> > privileges to making dir.System will show u the nice dialogue box to
enter
> > the administrator password.
>
> Don't do this. Do not mix 'sudo' and 'with administrator privileges. They
> are redundant.
>
> > In the same way, i am showing dialogue box to enter the password and
> > passsing into the commands which requires the administrator password.
When
> > we r entering the password in my dialogue box it is showing the
password
> > instead of asterisk characters.
> > In system dialogue box it is showing the characters as asterisk.How can
i
> > make it in my dialogue box?
>
> Just:
>
> do shell script "mkdir /usr/local/bin" with administrator privileges
>
> AppleScript will take care of authenticating the user and elevating the
> privileges. There is no need for you or your script to know the password
in
> advance.
>
> Andrew
> :)
>
>
>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden