Re: Running Stay-open scripts from the command line
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