Re: Modeless floating alert with yellow background
Re: Modeless floating alert with yellow background
- Subject: Re: Modeless floating alert with yellow background
- From: JollyRoger <email@hidden>
- Date: Wed, 07 Feb 2001 23:11:43 -0600
on 2/7/2001 10:33 PM, Lorin Rivers at email@hidden wrote:
>
Can I get one in an AppleScript?
Hi Lorin,
It's called a notification. Mac OS versions prior to 8.6 (I think it was
8.6) displayed it as a standard dialog. After that it was the neat little
modeless yellow window.
I use Akua Sweets notify command to create them:
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.
HTH
JR