• 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: Cal <email@hidden>
  • Date: Thu, 30 Nov 2000 12:32:46 -0500

Carl West <email@hidden> wrote:

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?

FYI, be aware that in Scripter, "quit" really will stop the script.

Cal


  • Prev by Date: Re: Quitting an applet?
  • Next by Date: Re: Keyboard Control Panel 8.5
  • Previous by thread: Re: Quitting an applet?
  • Next by thread: =?windows-1252?Q?=95No_files_in_my_IN_FOLDER=2E=2E=2Escript_er? = rors
  • Index(es):
    • Date
    • Thread