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: 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