Re: Quitting an applet?
Re: Quitting an applet?
- Subject: Re: Quitting an applet?
- From: Pier Kuipers <email@hidden>
- Date: Wed, 29 Nov 2000 21:54:29 +0000
Try this:
on run
quit
display dialog "it didn't quit"
continue quit
end run
Pier.
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
_______________________________________________
applescript-users mailing list
email@hidden
http://www.lists.apple.com/mailman/listinfo/applescript-users
--
---
Visual ID
A new concept in the storage
and distribution of corporate and
brand identity
http://www.visualid.com
Pier Kuipers
Visual ID
2 Whitefriars
Aungier Street
Dublin 2
Tel. +353 1 476 7059
Fax +353 1 478 1366
Mobile +353 87 294 3063
ISDN +353 1 602 0754