This is the way I am familiar with.  The security issues can be tricky since
this could run without the users knowledge.

--------------Applescript code:----------------------

do shell script "/usr/sbin/AppleFileServer" password "x" with administrator
privileges

Turning off with:
do shell script "/usr/bin/killall AppleFileServer" password "x" with
administrator privileges
---------------------------------------------
"x" is your administrator password!

Jim Ault
Las Vegas

On 6/26/08 10:16 AM, "Richard Miller" <[EMAIL PROTECTED]> wrote:

> Anyone know how I can use Rev to turn on/off file sharing on a Mac? I
> can't quite put my finger on the Applescript commands that would do
> this.
> 
> Thanks.
> Richard Miller


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

Reply via email to