• 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: "Bourque, Jason" <email@hidden>
  • Date: Wed, 29 Nov 2000 15:59:15 -0500

try error number -128

> on run
> quit
> display dialog "it didn't quit"
error number -128
> end run
>
>
As for the complete list try using Smile to view the AppleScript extension
it will display the dictionary. This only works with Smile the Script Editor
Shareware

Or look in the AppleScript Language Guide located on Apple's website

Good Luck

Jason Bourque
MFS Investment Management


> ----------
> From: Carl West
> Sent: Wednesday, November 29, 2000 3:46 PM
> To: AppleScriptList
> Subject: Quitting an applet?
>
> 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: Carl West <email@hidden>
  • Prev by Date: Re: Scritping Fetch (3.0.3)
  • Next by Date: Re: Quitting an applet?
  • Previous by thread: Re: Quitting an applet?
  • Next by thread: Re: Quitting an applet?
  • Index(es):
    • Date
    • Thread