• 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: Stay Open
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Stay Open


  • Subject: Re: Stay Open
  • From: Emmanuel <email@hidden>
  • Date: Tue, 2 Jan 2001 09:14:54 +0100

At 4:47 +0100 2/01/01, Stephen Swift (aka Burnum) wrote:
>Why would you want to save a script application and check the 'Stay Open'
>option. I've been trying to figure out some use for that.
>What does it do?
>Does it have anything to do with watching the actions on the computer or
>anything?

In addition to what Paul wrote, it may be useful to recall that when you
have an applet 'stay open', you can issue calls to its handlers from
another script.

For instance if your applet, say "MyApplet", includes a handler such as:

-------------------------- untested
on WelcomeUser()
say "hello man"
end
--------------------------

then you can run - from any script:

-------------------------- untested
tell application "MyApplet" to WelcomeUser()
--------------------------

HTH
Emmanuel


References: 
 >Stay Open (From: "Stephen Swift (aka Burnum)" <email@hidden>)

  • Prev by Date: Re: resetting record values to ""
  • Next by Date: Re: Bounds?
  • Previous by thread: Re: Stay Open
  • Next by thread: Re: Stay Open
  • Index(es):
    • Date
    • Thread