[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] Network Scripting Question



[stuff deleted]
>I would like to control the server application from any workstation.
>
>I have set up MacPerl on the server, with a droplet script. I mount the
>server on a workstation and drop a file on the droplet. I would like the
>server to run the script, using information contained in the file I
>dropped.
>
[stuff deleted]

I haven't tried this, so, take it with a grain of salt:

1. Turn "Program Linking" on in the "Sharing Setup" control panel
on the server machine.

2. Modify "Guest" in the "Users & Groups" control panel to allow
guests to link to programs (or create separate users for all those
allowed to link to programs).

3. Put an alias to MacPerl in the "Startup Items" folder of the
server machine's System Folder, so that it is running at all times.

4. Write the droplet to use Apple Events/PPC communications to
send the script to the server's MacPerl (this is the hard part :-).

When you get this running, I'd be interested in seeing the result,
if you can post the code.  Happy coding!

Tom.