Re: Getting the location of mailboxes from mail/Eudora
Re: Getting the location of mailboxes from mail/Eudora
- Subject: Re: Getting the location of mailboxes from mail/Eudora
- From: Adam Bell <email@hidden>
- Date: Sat, 03 Feb 2007 19:03:11 -0400
Title: Re: Getting the location of mailboxes from
mail/Eudora
My experiments reveal these ideas:
-- Everyone has an "In" box, so
tell application "Eudora" to set L to file of mailbox
"In"
tell application "Finder" to set mF to container of L as
alias
-- Then to get name of every other mailbox
tell application "Finder" to set boxes to name of mF's
entire contents
-- Get toc of every mailbox -- returns them but you can't read
them.
set tx to {}
tell application "Eudora"
repeat with
aMB in boxes
set
end of tx to (get toc location of mailbox aMB)
end repeat
end tell
-- I've never found a better way of finding a particular message
than this. Filters don't seem to work.
set S to {}
tell application "Eudora"
set c to count messages of mailbox
"Software"
repeat with k from c to 1000 by -1
tell
message k of mailbox "Software" to if subject contains
"PageSpinner" then set S's end to k
end repeat
set t to body of message
(item 1 of S) of mailbox "Software"
end tell
Adam
Hi Everyone,
Does anyone know if its possible to obtain the file location (path to)
of a specified mailbox (or individual message). For example, what I'd
like to do is ...
tell application "Mail"
set filePath to location of mailbox "Test"
as alias
end tell
Does anyone know a way of doing this.
Thanks in advance for any help given
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list
(email@hidden)
Help/Unsubscribe/Update your Subscription:
>esscable.net
Archives:
http://lists.apple.com/mailman//archives/applescript-users
This email sent to email@hidden
_______________________________________________
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/mailman//archives/applescript-users
This email sent to email@hidden