RE: Passing params to network script object-HELP!
RE: Passing params to network script object-HELP!
- Subject: RE: Passing params to network script object-HELP!
- From: Steve Kump <email@hidden>
- Date: Fri, 13 Apr 2001 13:18:58 -0500
Oh...I figured it out...
on run {filePath, picturePath}
set theFilePath to filePath
tell application "Network Script Runner" of machine "B"
networkRun(runThisScript)
end tell
end run
script runThisScript
global theFilePath
tell application "Finder"
activate
display dialog theFilePath
end tell
end script
Thanks anyway!
--
Steve Kump
Xpressdocs
2916 W. 6th Street
Fort Worth, Texas
76107
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