If you add a line
do shell script "" with administrator privileges
you'll get the desired action. This only asks for the password, but
if you want to actually invoke administrator privileges inside a
shell script, you would write
do shell script "sudo foo" with administrator privileges
----------------------------------
At 10:00 PM -0400 7/28/09, Walter Ian Kaye wrote:
>
>I notice that installers have a way to pop up an authorization dialog
>for writing to areas of the filesystem outside the user's home folder.
>
>Is there any way to do that from AppleScript, or are our digital hands tied?