For completeness, I'll throw in this option - not exactly what you are asking for but it could work too:

put "do shell script" && q(tShellCommand) && "with administrator privileges" into tASCommand
      do tASCommand as AppleScript

This approach puts up a system password dialog.

Phil



On 10/7/10 7:09 AM, Generic Email wrote:
I am on OS X, and I want to click a button, and have that button run a sudo 
command.

but it needs to prompt for a password.

Is there a way from LC to use the standard OS X elevated process dialogs?

Thanks!

--
Phil Davis

PDS Labs
Professional Software Development
http://pdslabs.net

_______________________________________________
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to