• 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: Entourage Script to Cut and Paste Message Bodies???
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Entourage Script to Cut and Paste Message Bodies???


  • Subject: Re: Entourage Script to Cut and Paste Message Bodies???
  • From: Andrew Oliver <email@hidden>
  • Date: Fri, 14 Mar 2003 18:01:19 -0800

It's entirely possible, but...

Steps 1 and 2 would be far easier done using a Rule that checks the subject
line and runs the AppleScript if it matches.

Something like this should be a good start:

property outputFile : ":desktop:output.txt"

tell application "Microsoft Entourage"
set theFile to open for access outputFile with write permission
repeat with aMessage in current messages
set theBody to content of aMessage
write theBody to theFile
move aMessage to folder "archived messages"
end repeat
close access theFile
end tell



On 3/14/03 5:03 PM, "Ramona Rock" <email@hidden> wrote:

> I'd like an Applescript to do the following, if possible:
>
> 1. Look at my inbox of Microsoft Entourage.
> 2. Determine which email has a certain subject line. (info I get via a CGI
> script on a website)
> 3. Copy the body of those emails (but only those).
> 4. Paste those message bodies into a text file on my desktop which I would
> be able to title (and thus identify).
> 5. Move the email message to another folder (this last part is optional,
> but would be nice)
>
> Is this possible?
>
> Appreciate any responses! Ramona.
> _______________________________________________
> applescript-users mailing list | email@hidden
> Help/Unsubscribe/Archives:
> http://www.lists.apple.com/mailman/listinfo/applescript-users
> Do not post admin requests to the list. They will be ignored.
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Entourage Script to Cut and Paste Message Bodies?
      • From: Ramona Rock <email@hidden>
References: 
 >Entourage Script to Cut and Paste Message Bodies??? (From: Ramona Rock <email@hidden>)

  • Prev by Date: Entourage Script to Cut and Paste Message Bodies???
  • Next by Date: Re: Determining item number matching "x" in a list
  • Previous by thread: Entourage Script to Cut and Paste Message Bodies???
  • Next by thread: Re: Entourage Script to Cut and Paste Message Bodies?
  • Index(es):
    • Date
    • Thread