• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Passing params to network script object-HELP!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Re: file info on a folder of items (2nd post)
  • Next by Date: Re: file info on a folder of items (2nd post)
  • Previous by thread: Re: FaceSpan Help...
  • Next by thread: RE: Passing params to network script object-HELP!
  • Index(es):
    • Date
    • Thread