CGi with Applescript on OS X

I’m looking for someone who has been able to use Applescript to write CGI scripts.
I’ve not been able to make a script work.

JB

Perhaps you didn’t install “acgi dispatcher”, which is necessary to run CGI applescripts under OS X…
http://www.sentman.com/acgi/

First it’s not free (I know only 15$), I’ve tried it and it’s great, but I’m sure there is a work around !

Maybe calling the applescript from a perl scrip, or something like that.

You could do it from a shell script cgi like:

#!/bin/sh
osascript /path/to/yourscript

But you would need to somehow get the query string and/or POST data into the applescript, and the output from it.