Hi,
I’m not sure to have understood your question, but there is a “ScriptingAddition”, which gives you the ability to ask users of your script after your admin. password before proceeding in the task. I think that you can find these extension without problems…
Okay, I tried to use this:
set firstText to text returned of (display dialog “Password” hidden answer “”)
instead of this:
set firstText to text returned of (display dialog “Password” default answer “”)
But I got an error message that says:
"Can’t get <> of {<>:“OK”}
The dialog box pops up, but I can’t see any space to actually enter any text as the password, so I just try to type in a password anyway, but it doesn’t seem to work.