Elevated Process

Kevin Miller kevin at runrev.com
Thu Oct 7 13:39:19 EDT 2010


On 07/10/2010 15:09, "Generic Email" <generic.email.30022 at gmail.com> 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?

Try the new elevated process command in LC 4.5:

open elevated process [process]

For more details see the release notes for 4.5 at
http://www.runrev.com/downloads/livecode/4_5_0/LiveCodeNotes-4_5_0.pdf

Kind regards,

Kevin

Kevin Miller ~ kevin at runrev.com ~ http://www.runrev.com/
LiveCode - Realize fast, compile-free coding





More information about the use-livecode mailing list