• 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
AppleScripting Outlook Express 5.02 on Mac OS 9
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

AppleScripting Outlook Express 5.02 on Mac OS 9


  • Subject: AppleScripting Outlook Express 5.02 on Mac OS 9
  • From: Andrew Duncan <email@hidden>
  • Date: Fri, 07 Dec 2001 13:54:40 +1100

Hi,

I'm trying to write an AppleScript that grabs data from an Outlook Express
message and sends it to a FileMaker Pro database. I have the script running
on a message that is open in it's own window successfully, what I would like
however is to have the script run on a message that is selected/highlighted
in the inbox or other folder so that it can be run on a mail rule. The
script is as follows:

---

tell application "Outlook Express"
set myMessage to the displayed message of the front window
set senderAddress to sender of myMessage
set messageEmail to (address of senderAddress)
set messageBody to (source of myMessage)
end tell

tell application "FileMaker Pro"
activate
tell database 1
set record_to_modify to (create new record)
go to record_to_modify
set cell "email_work" of record_to_modify to messageEmail
set cell "notes" of record_to_modify to messageBody
do script "Set Fields from OE"
end tell
end tell

----

If anyone knows how to achieve this I'd love to hear from you.

Many thanks in advance.
Andrew


  • Follow-Ups:
    • Re: AppleScripting Outlook Express 5.02 on Mac OS 9
      • From: Paul Berkowitz <email@hidden>
  • Prev by Date: Re: Alternatives to Word (was: Re: Script problems with BBEdit 6.5)
  • Next by Date: Re: Alternatives to Word (was: Re: Script problems with BBEdit 6.5)
  • Previous by thread: Re: Alternatives to Word (was: Re: Script problems with BBEdit 6.5)
  • Next by thread: Re: AppleScripting Outlook Express 5.02 on Mac OS 9
  • Index(es):
    • Date
    • Thread