• 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: Newbie question - creating non-blocking alerts
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Newbie question - creating non-blocking alerts


  • Subject: Re: Newbie question - creating non-blocking alerts
  • From: "email@hidden" <email@hidden>
  • Date: Sat, 05 May 2001 06:45:39 -0500

on 5/5/2001 1:43 AM, David Shorter at email@hidden wrote:

> Hello all
> I've created a script which launches at atart-up (along with other things) and
> needs to flash up a non-blocking alert (in front of other eopn windows) if the
> user should know about something - like Eudora's "You have new mail message".
> Is there any way of doing this in Applescript? Have looked in the ScriptEditor
> and Finder directories, also the ref manual, but can't see anything. Could use
> a "Say" command of course but the user might not have audio turned on...

Try Akua Sweets "notify" command:

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.

JR


References: 
 >Newbie question - creating non-blocking alerts (From: David Shorter <email@hidden>)

  • Prev by Date: Re: making an AS applet into a background app?
  • Next by Date: Re: Newbie question - creating non-blocking alerts
  • Previous by thread: Newbie question - creating non-blocking alerts
  • Next by thread: Re: Newbie question - creating non-blocking alerts
  • Index(es):
    • Date
    • Thread