• 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
RE: Passing params to network script object-HELP!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Re: CGI?
  • Next by Date: Re: Dictionaries for apps inside 'packages'
  • Previous by thread: Passing params to network script object-HELP!
  • Next by thread: Re: Passing params to network script object-HELP!
  • Index(es):
    • Date
    • Thread