• 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: quitting an applet
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: quitting an applet


  • Subject: Re: quitting an applet
  • From: "email@hidden" <email@hidden>
  • Date: Thu, 11 Jan 2001 23:34:39 -0500

>The problem is that the idle handler can never assume that any other
>handler had
>ever run.

That might normally be the case but if I am the only one who will call
this, and I will always call it (from FileMaker actually) I am using
Filemaker to be non volatile storage. And to display the results of the
workflow.

tell application "My App" to foo()

and on quitting I tell it to quit, I will need to be aware of some
abnormal launch, but it should be hard to come into play. I have one
easy check that will tell me if the init routines have been run, so I may
not need an explicit flag.

> If your might get called after a "launch", making sure things have
>been initialized is tricky, requiring you to set a flag, and clear it on
>exit.
>(Don't forget the "continue quit" statement. ;-) )

thanks again.

Doug


  • Prev by Date: Re: Lowlights of AppleScript 1.5.5 in Mac OS 9.1
  • Next by Date: Re: Chevrons [getting OT] - and back on topic again
  • Previous by thread: Re: quitting an applet
  • Next by thread: Applescript and FTP
  • Index(es):
    • Date
    • Thread