Administrator Privileges?

Mac OSX specific forum
User avatar
Airr
User
User
Posts: 49
Joined: Tue Oct 04, 2005 4:29 am
Contact:

Administrator Privileges?

Post 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.
"Programming is like Poetry. Sometimes the words just escape you..." -me, to my manager.