Re: yellow alert box
Re: yellow alert box
- Subject: Re: yellow alert box
- From: Paul Berkowitz <email@hidden>
- Date: Wed, 08 Nov 2000 12:04:30 -0800
On 11/8/00 10:49 AM, "Jolly Roger" <email@hidden> wrote:
>
Xandra, I think what Matt is interested in is displaying notifications, not
>
dialog boxes with icons. In OS 8.6 (or is it OS 9?) and later,
>
notifications are displayed in a special floating window that has a yellow
>
background. To display such a notification, you will indeed need the help
>
of a third-party scripting addition.
e.g. Akua Sweets: notify (I haven't tried it.)
notify : Post or remove a notification. (Using this also clears any dangling
notifications from scripts that ended without a corresponding "is done"
call).
notify [ integer] -- The notification to remove (if any).
[with alert string] -- The string you wish to have posted in an
immediate alert.
[with sound sound] -- A sound loaded from a file.
[with sound named string] -- The name of the sound you wish to play.
[with icon small integer] -- The number of the icon you wish to
flash in the menu. Use 150 for the default script application icon.
[markation boolean] -- Mark app in menu.
[removal boolean] -- Remove the notification.
Result : integer -- The notification. Don't change it! You must use the
"with removal" option at a later time to remove the notification from the
queue.
--
Paul Berkowitz