Passing params to network script object-HELP!
Passing params to network script object-HELP!
- Subject: Passing params to network script object-HELP!
- From: Steve Kump <email@hidden>
- Date: Fri, 13 Apr 2001 12:47:17 -0500
Hi all,
Well...I'm almost there on this, my trickiest script yet. I need a bit of
help to get over this hurdle. I've included a very simplified version of the
code below, but the principle is the same. I need to use a script to call a
script application and pass it several parameters, then have that script
application call a network script to run the script object within the script
application. This works fine. Now, I need to pass that script objects, the
parameters I just passed to the script application.
have a look:
below is the script application that receiveds the filePath and PicturePath
params from the starting script. I need to get those params into the
"runthisScript" script object so they can be used by the networkRun script.
I have tried unsuccessfully to add parameters to either to object of the
network run script.
Can this be done?!?!?
on run {filePath, picturePath}
tell application "Network Script Runner" of machine "B"
networkRun(runThisScript)
end tell
end run
script runThisScript
tell application "Finder"
activate
display dialog filePath
end tell
end script
Thanks!
--
Steve Kump
Xpressdocs
2916 W. 6th Street
Fort Worth, Texas
76107