Re: Move message from entourage folder
Re: Move message from entourage folder
- Subject: Re: Move message from entourage folder
- From: "John C. Welch" <email@hidden>
- Date: Fri, 27 May 2005 11:44:44 -0500
- Thread-topic: Move message from entourage folder
Title: Re: Move message from entourage folder
On 5/27/05 11:38, "Gary (Lists)" <email@hidden> wrote:
>> Why not just save the message to the desired folder?
>
> Read the thread. That was my first suggestion.
Yours seemed to involve keyquencer and UI scripting, and seemed a tad complicated. The one that ships with E’rage requires dialogs, and therefore kinda sucks for automated use.
My idea was something simple like:
set thePath to path to desktop from user domain as string
tell application "Microsoft Entourage"
set theMessageList to the selection
save item 1 of theMessageList in thePath & "testMessage.eml"
end tell
Which works, creates a nice .eml message, even preserves the attachment. Add the code to deal with multiple messages, and the destination folder, a single repeat loop and bob’s your uncle, no dialogs to deal with.
A little more code would let you create a data-based name for a separate folder every backup.
john
--
"Five-second fuses only last three seconds."
Infantry Journal.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden