• 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
Run script with parameters?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Run script with parameters?


  • Subject: Run script with parameters?
  • From: Harald E Brandt <email@hidden>
  • Date: Mon, 23 Apr 2001 23:34:51 +0200

I can't get this to work:

run script alias "HD:test" with parameters {2, 3}

With the script file called "test" being:

on test(a, b)
display dialog (a + b)
end test

Why doesn't this work?
Isn't run script supposed to be able to run such a thing?

I run AppleScript 1.6 on Mac OS 9.1 US

With hope for help,


______heb________________________________________________________________
Harald E Brandt email@hidden PGP/MIME aware http://heb.surf.to


  • Follow-Ups:
    • Re: Run script with parameters?
      • From: Jeffrey W Baumann <email@hidden>
References: 
 >Re: Stopping a script in a Try Statement (From: Paul Berkowitz <email@hidden>)

  • Prev by Date: Non-modal information window showing progress?
  • Next by Date: Re: Handlers in list
  • Previous by thread: Re: Stopping a script in a Try Statement
  • Next by thread: Re: Run script with parameters?
  • Index(es):
    • Date
    • Thread