Re: script for system Authentication dialog box.
Re: script for system Authentication dialog box.
- Subject: Re: script for system Authentication dialog box.
- From: Matthew Smith <email@hidden>
- Date: Wed, 20 Jul 2005 15:05:26 +1000
on 21/07/2005 02:53, selva.ganesan at email@hidden wrote:
> 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.
>
> 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?
First, you should have: do shell script "sudo..." with administrator
privileges.
You can just say: do shell script "mkdir /user/local/bin" with administrator
privileges.
In Mac OS X 10.4 you can use "with hidden answer" on the "display dialog"
command. I don't think it exists in previous versions.
--
Matthew Smith
_______________________________________________
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