MACSCRPT Archives

May 2007

MACSCRPT@LISTSERV.DARTMOUTH.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Emmanuel <[log in to unmask]>
Reply To:
Macintosh Scripting Systems <[log in to unmask]>
Date:
Fri, 18 May 2007 20:18:00 +0200
Content-Type:
text/plain
Parts/Attachments:
text/plain (29 lines)
At 8:14 AM -0400 5/18/07, Lloyd Butler wrote:
>Bill,
>
>Do you need to run WebStar, or are you willing to use Apache that is built in?
>
>I have some Applescripts that I use to build our business cards in 
>Quark that I drive from a web page. I have Perl handle the cgi call 
>and reformat the database query result to text and store it as a 
>file, and then use a system call to execute the Applescript.
>
>For low volume, it "works", a bit of a kludge, but it does the job.
>
>I changed the group the www user runs under so that it can access 
>the gui otherwise it will not do anything because of access 
>priviledges.
>
>OS X server is supposed to have the apache plugin to allow it to 
>execute Applescripts directly, but I am not sure what it does about 
>scripts that access apps as the apps need access to the gui.

SmileServer makes a handy solution for that kind of job. We provide a 
special cgi to make the request into a plist and send it to a handler 
in Smile, and the install is quite straightforward, no muss, no fuss 
[1].

Information about that is at <http://www.satimage-software.com>.

Emmanuel

ATOM RSS1 RSS2