Computing.Net > Forums > Mac > Applescript CGI Question

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Applescript CGI Question

Reply to Message Icon

Name: Christopher
Date: August 9, 2001 at 13:50:20 Pacific
Comment:

Whats up dudes,

I am editing a script that has recently
broken due to server migration. The CGI
is crashing on 1 line when it calls a really
weird event.

The script parses form input into a simple
data file and then runs a C simulation.

Here is the script,
try
set return_page to http_10_header &
""
set filename to "whc
server:WebSTAR:WebSTAR:afrsim:para
meters.dat"

<--THis is the STRANGE EVENT

set resultlist to event WaynTKii
post_args given class SEPl:{"=", "&"}


set refNum to event ScTlOpen alias
filename
--write file refNum text
"Pat's:webstar:cgi-bin:afrsim:afrsim2.html
"
repeat with n from 2 to 8 by 2
event ScTlwrit refNum given class
text:(item n of resultlist)
end repeat
event ScTlClos refNum
launch application "whc
server:WebSTAR:WebSTAR:afrsim:afrsim
"


Anyone has an idea let me know,,

Thanks



Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More


My post don't always make... type 1 error



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Mac Forum Home


Sponsored links

Ads by Google


Results for: Applescript CGI Question

applescript update question www.computing.net/answers/mac/applescript-update-question/7495.html

stupid question www.computing.net/answers/mac/stupid-question/3376.html

Helpful forum www.computing.net/answers/mac/helpful-forum/3302.html