Entourage filter using AppleScript
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