• 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: garbanzito <email@hidden>
  • Date: Sun, 20 May 2001 10:18:25 -0600

at 5/19/01, 7:44 PM -0400, they whom i call Michael Ellis wrote:
Is there a way to run a "stay-open" script from the command-line and have
it actually stay open?

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?

i don't have an answer as to why, but a possible
work-around: use osascript to run a stub script which just
invokes your applet. then when the stub script quits, the
target script will (theoretically) still be running.

steve harley email@hidden


  • Prev by Date: Re: Counting the items in anested list
  • Next by Date: Re: Running Stay-open scripts from the command line
  • 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