Re: Rookie - Import Mail mailbox
Re: Rookie - Import Mail mailbox
- Subject: Re: Rookie - Import Mail mailbox
- From: Andreas Amann <email@hidden>
- Date: Tue, 22 May 2007 17:18:49 -0700
The "import Mail mailbox" command requires a POSIX-path to the
mailbox to be imported (regardless of what the dictionary says...).
Try the following (assuming that you have the folder as indicated by
your last message):
tell application "Mail" to import Mail mailbox at "~/Temp/ylan.mbox"
Alternatively you could try (keeping your tell Finder block):
tell application "Finder" to set temp to (path to home folder from
user domain as text) & "Temp:ylan.mbox"
tell application "Mail" to import Mail mailbox at POSIX path of temp
Andreas
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden