• 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
Entourage filter using AppleScript
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Entourage filter using AppleScript


  • Subject: Entourage filter using AppleScript
  • From: Steen <email@hidden>
  • Date: Sat, 19 Jan 2002 21:21:36 +0100

Hello all.

I'm new to AppleScript and I try to make a mailfilter to Entourage.
Need to look up for several things in a mail.

Can someone tell me how do I grab the next line after the match HJEMMESIDE,
see the script:

tell application "Microsoft Entourage"
--activate
try
set cm to current messages
repeat with aMsg in cm

--set idl to ID of aMsg -- get mail ID

set myString to source of aMsg
set foundHomepage to REMatch myString pattern "HJEMMESIDE:"

-- I wish to grab the line after this match, how do I do it? --

end repeat
end try
end tell

Regards
Steen


  • Prev by Date: Re: [rant] Upgrade to 9.2, any advice?
  • Next by Date: Re: styled text
  • Previous by thread: scripting locations
  • Next by thread: Another MsExcel help !!
  • Index(es):
    • Date
    • Thread