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

Quitting an applet?


  • Subject: Quitting an applet?
  • From: Carl West <email@hidden>
  • Date: Wed, 29 Nov 2000 15:46:58 -0500
  • Organization: VPG Integrated Media

I want my script to quit if the user presses a particular button. It's
not happening.

Minimal case:

on run
quit
display dialog "it didn't quit"
end run

As a classic applet, it always gets to the "it didn't quit" dialog. In
the Script Editor I get the slightly cryptic error "Could not run the
script because a script is running" which I take to mean that it can't
execute the quit command on the the Script Editor while it has a script running.

How does one get an applet to stop executing and quit?


BTW,
Where do I go to find a full list of the basic AppleScript commands?
I haven't found such a thing on Apple's site,
I can't find it in the Script Editor help... where do I go?
I'm tired and frustrated with frobbing my way through this stuff.

--
Carl West email@hidden
617.262.8830 x246

I have no superfluous leisure; my stay must be
stolen out of other affairs; but I will attend you awhile.

- Isabella, Measure for Measure, Act 3 Scene 1


  • Follow-Ups:
    • Re: Quitting an applet?
      • From: Rob Jorgensen <email@hidden>
    • Re: Quitting an applet?
      • From: Pier Kuipers <email@hidden>
  • Prev by Date: Re: appending filenames daily with applescript
  • Next by Date: Re: Scritping Fetch (3.0.3)
  • Previous by thread: Re: Month as Integer
  • Next by thread: Re: Quitting an applet?
  • Index(es):
    • Date
    • Thread