• 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: Email auto-notification script
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Email auto-notification script


  • Subject: Re: Email auto-notification script
  • From: Johan Solve <email@hidden>
  • Date: Tue, 7 Nov 2000 01:13:47 +0100

Eric,

Have you tried using Eudora's "Start Notify" command to make Eudora notify your applet?

start notifying: Notify an application of things that happen
start notifying reference -- an application to notify
[when mail arrives/mail sent/will connect/has connected/has manually filtered] -- what to notify the application of

Also, why are you telling Finder to activate? Wasn't the point to pop up a dialog without interrupting what you're doing?


I'm trying to have Applescript display a dialog on top of the current application whenever new mail is received in Eudora (running in the background). I have the dialog set up to display the sender name and subject and give the user the choice to either "Read" (and switch to Eudora) or "Ignore" (and remain where they are). However, I can't seem to figure out how to make the dialog appear automatically whenever Eudora checks for and receives new mail. Any ideas? Here's the script:

tell application "Eudora Pro"
set mysubject to subject of last message of mailbox "In"
set mysender to sender of last message of mailbox "In"
set mynotify to "Incoming Email..." & return & return & "From: " & mysender & return & "Subject: " & mysubject

tell application "Finder"
activate
display dialog mynotify with icon 1 buttons {"Read", "Ignore"} default button 2
if result is {button returned:"Read"} then tell application "Eudora Pro"
activate
end tell
end tell
end tell

Thanks.

WWWWWWWWWWWWWWWWW

Eric Waters
Systems Trainer - OICPS
Southwest Educational Development Laboratory - SEDL
Austin, Texas 78701
512-476-6861 ext. 329

web: http://www.sedl.org
_______________________________________________
applescript-users mailing list
email@hidden
http://www.lists.apple.com/mailman/listinfo/applescript-users

--
Johan Svlve
FileMaker and Lasso Systems Developer
MONTANIA SYSTEM AB [FSA Member]
http://www.montania.se mailto:email@hidden
Halmstad Branch: Brogatan 16, SE-30243 Halmstad
phone +46 35-127205 fax +46 35-2802654 mobile +46 709-515570
Ronneby HQ: Soft Center , SE-37225 Ronneby
phone +46 457-386200 fax +46 457-26479


References: 
 >Email auto-notification script (From: Eric Waters <email@hidden>)

  • Prev by Date: Re: Email auto-notification script
  • Next by Date: Re: Another FMP question
  • Previous by thread: Re: Email auto-notification script
  • Next by thread: Re: Email auto-notification script
  • Index(es):
    • Date
    • Thread