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:
Brian Johnson <[log in to unmask]>
Reply To:
Macintosh Scripting Systems <[log in to unmask]>
Date:
Thu, 17 May 2007 19:33:23 -0700
Content-Type:
TEXT/PLAIN
Parts/Attachments:
TEXT/PLAIN (45 lines)
Bill,

I can't speak for the most recent releases of Webstar, but when I was 
transitioning from OS-9 to -X I did d/l a couple of trial versions of W* 
and it still abided by the "on handle CGI-requst" syntax. In fact, wishing 
to retain that syntax lead me to develop "peacePipe" (and James Sentman to 
develop "acgi dispatcher") for the standard "personal websharing" apache 
server. I haven't followed W* for a few years, though, so it might have 
changed. It is disturbing that the Kerio 'user guide' doesn't include the 
word 'applescript' ... (looks like that side of things has been neglected)

There have been some changes within AS I believe that render old scripts 
both un-openable and un-runnable. I've had to open some of mine in 
ScriptEditor under Classic, save as text, and then open the text in OS-X 
Script Editor. That might work with the sample app.

Feel free to contacct me off-list if I can help in any way.

-Brian Johnson, Department of Architecture, University of Washington, Seattle
  (or check out peacePipe at http://quicksilver.caup.washington.edu/software)


Bill Steele wrote:
>
> In the WebSTAR cgi-bin, as installed, we find AppleEventExample.acgi.
> Pointing a form at it does nothing.  Trying to open it in Script
> Editor does nothing (perhaps saved as run-only, a lovely way to
> supply an example).
>
> Anybody know what this thing is?
>
> What I really want is the syntax for an Applescript CGI with WebSTAR
> 5 on OS X.  Does it still use "on handle CGI request searching for
> path args..." etc.? or is there some new syntax for stdin or some
> such?
>
> When I use one of my old OS 9 CGIs, it runs and appears in the
> toolbar, but doesn't do anything. Googling the topic produces tons of
> information on using Applescript CGIs with Machttp.  Plus a lot of
> stuff in German and Japanese.
> -- 
>
> Bill Steele
> [log in to unmask]

ATOM RSS1 RSS2