• 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: "Arthur J Knapp" <email@hidden>
  • Date: Sat, 14 Apr 2001 14:09:39 -0400

> Date: Fri, 13 Apr 2001 12:47:17 -0500
> Subject: Passing params to network script object-HELP!
> From: Steve Kump <email@hidden>

> Well...I'm almost there on this, my trickiest script yet.

I'm currently working on my trickest script yet, so I sympathize. :)

> ... Now, I need to pass that script objects, the
> parameters I just passed to the script application.

> 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.

> 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

Why not add properties to runThisScript?

> on run {filePath, picturePath}

set filePath of runThisScript to filePath
set picturePath of runThisScript to picturePath

> tell application "Network Script Runner" of machine "B"
> networkRun(runThisScript)
> end tell
> end run


> script runThisScript

property filePath : missing value
property picturePath : missing value

> tell application "Finder"
> activate
> display dialog filePath
> end tell
> end script




Arthur J. Knapp
http://www.stellarvisions.com
mailto:email@hidden

Hey, check out:
http://home.earthlink.net/~eagrant/


  • Prev by Date: Re: Applescript CGI Counter
  • Next by Date: Filemaker checking value lists
  • Previous by thread: RE: Passing params to network script object-HELP!
  • Next by thread: AppleScript 1.6 issues
  • Index(es):
    • Date
    • Thread