• 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: Command line args in MacOS X
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Command line args in MacOS X


  • Subject: Re: Command line args in MacOS X
  • From: garbanzito <email@hidden>
  • Date: Mon, 23 Apr 2001 11:53:58 -0600

at 4/21/01, 11:22 AM -0600, they whom i call email@hidden wrote:
From MacOS X I want to execute an applescript from the Terminal
command line and have any command line arguments available
to the script.

for now you'll have to cobble up a solution... pretty ugly,
but how about a shell script that writes args to a
predetermined file, which the AppleScript knows about and
reads to get the args? if you want to be completely
generic, you may also need a shim AppleScript, to be called
by osascript, that reads the args file and passes the args
to a handler in the target script.

steve harley email@hidden


  • Prev by Date: Re: off subject...but help is needed....
  • Next by Date: Re: UPPER Command
  • Previous by thread: Re: Command line args in MacOS X
  • Next by thread: creator type of application file of every application process
  • Index(es):
    • Date
    • Thread