Page 1 of 1

Administrator Privileges?

Posted: Thu Jan 31, 2008 10:03 pm
by Airr
Hey, all.

Applescript has a handy feature, whereby you can launch a shelled program with administrator rights (you get the authentication dialog).

For example:

Code: Select all

  do shell script "ls -l" with administrator privileges

Is this possible to do in PB? Even better, is is possible to set something so that launching the PB app will prompt you for admin credentials?

I'm hoping to port some system scripts over to PB, so any insight/help is appreciated!

Thanks.

AIR.