OSX file sharing - Rev

Jim Ault JimAultWins at yahoo.com
Thu Jun 26 14:50:39 EDT 2008


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" <wow at together.net> 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





More information about the use-livecode mailing list