Include the password as a property, then prompt the user for the password on
first run. Something like this

property: hiddenPassword ""

On run
If hiddenPassword = "" then
Set hiddenPassword to text returned of Display dialog "Enter Password"
End if

But, I'm not sure how secure that would be.

ES

On 3/6/13 12:17 PM, "SUBSCRIBE MACSCRPT Inyo55" <[log in to unmask]> wrote:

> Hey guys,
> I have a script that has to remotely do admin tasks on a Mac workstation.  To
> that end, the shell script command string in the script has the secret
> password for the admin account in plain text.  Is there anyway to hide this
> (other than locking the script)?
> 
> Many thanks,
> Bob R.