PDA

Click to See Complete Forum and Search --> : Passing arguments to applescript?



xrobbyx
05-21-2001, 08:12 PM
Is it possible to pass arguments from flash to applescript? I've been pouring over the documentation for a couple hours and i can't seem to find anything about it.

I have about 100 different documents i want to be openable out of a projector, and I've gotten the applescript to work if i hard code the file names into the script, but i really don't want to put 100 different applescripts on the cd.

thanks!

SJT
05-21-2001, 08:34 PM
I'm trying to do this too...the only way i can think of is to pass the variables with a getURL to an applescript with a handleCGI function in it...but I don't know how to do this, and presumably (this is the major flaw in my plan...) you'd have to run an http server as well :(
Can't really see that happening somehow...

If you've got any ideas about whether an http server is required to handle cgi requests targeted at a script or know of another way to handle a getURL request, or just any solution at all! please let me know !! (just post here).