• 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: Running Stay-open scripts from the command line
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Running Stay-open scripts from the command line


  • Subject: Re: Running Stay-open scripts from the command line
  • From: bill fancher <email@hidden>
  • Date: Sat, 19 May 2001 20:49:04 -0700

On Saturday, May 19, 2001, at 04:44 PM, Michael Ellis wrote:

In Mac OS X, if you run a stay-open script using the "/usr/bin/osascript"
command, the script loads and immediately quits. The "on idle" handle
does not get invoked. Must stay-open scripts be run from the Finder?

A "stay-open script", like any other applet, is an application, not a compiled script. Therefore, you should use "open", as for any app, instead of "/usr/bin/osascript".

--
bill


  • Prev by Date: Re: Scope of globals, parents and children, "load script"
  • Next by Date: Re: Scope of globals, parents and children, "load script" an
  • Previous by thread: Re: Running Stay-open scripts from the command line
  • Next by thread: Re: Running Stay-open scripts from the command line
  • Index(es):
    • Date
    • Thread