Entourage import command fails
Entourage import command fails
- Subject: Entourage import command fails
- From: Jeff Porten <email@hidden>
- Date: Sun, 28 Nov 2004 18:41:51 -0500
Goal: a script to move mailboxes in one fell swoop from Mail.app to
Entourage X. I've gotten far enough along where my script copies
mboxen to the Desktop, changes the line endings to Mac, and sets the
filetype to TEXT. Said files show up fine in the import dialog (which
they don't before those last two steps occur).
Last step should be easy, just import them into Entourage. But I'm
getting failures on that side. Searching this archive shows that Paul
B. thinks this works:
From: Paul Berkowitz <email@hidden>
Date: January 16, 2003 9:54:08 AM EST
Anyway, Dan Crevier, who implements AppleScript for Entourage and much
else,
has explained that he does hope eventually to include much more under
the
'import' rubric. At this particular moment, all that it imports is
.mbox
files. There have already been requests for .vcs and .ics files too.
The failures I get with the following script, depending on what syntax
I'm playing with, is either that my source file doesn't understand the
import command, or "can't make «class cFld» id 107 of application
"Microsoft Entourage" into the expected type".
Thoughts?
tell application "Finder" to set smbox to file "jeffsent.mbox.txt" in
(path to desktop folder)
tell application "Microsoft Entourage"
set tFolder to folder "Test" -- make new folder with properties
{name:"Test"}
import smbox to tFolder
end tell
Best,
Jeff
_______________________________________________
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