Re: Misc Eudora questions
Re: Misc Eudora questions
- Subject: Re: Misc Eudora questions
- From: John Delacour <email@hidden>
- Date: Mon, 5 Aug 2002 01:41:01 +0100
At 5:59 pm +0100 4/8/02, Alex Robinson wrote:
I'm not gettting on very well with scripting Eudora.
1. To get the currently selected message, you can use message 0 or front
message etc. But I can't see how you get the currently selected messages.
(ie so I can move or chnage status of multiple messages)
2. This code works fine
open mailbox "1" in mail folder "A"
but this doesn't:
open mailbox "2" in mail folder "B" in mail folder "C"
All these work. I don't know what you can be doing wrong
tell application "Eudora"
open mailbox "In" -- or
open mailbox 0 -- or
open mailbox 1
open mailbox "applescript-users" of mail folder "Lists" -- or
open mailbox 1 of mail folder 1 -- or
open mailbox 0 of mail folder 0
-- /Lists/Test/Test.mbx
open mailbox "Test.mbx" of mail folder "Test" of mail folder "Lists"
open mailbox 1 of mail folder "Test" of mail folder "Lists"
open mailbox 1 of mail folder 1 of mail folder "Lists"
-- or simply
open mailbox "test.mbx" -- if there is only one so named
end tell
(NB. the mailboxes and folders do exist)
Why not? Especially since the following does work:
return (name of every mailbox in mail folder "B" in mail folder "C")
3. Is it not possible to do things like:
set the_folder to mail folder "A"
set the_box to mailbox "1" in mail folder "A"
Yes, it is, but you have to respect the way AppleScript works. A
class is not a reference.
tell app "Eudora"
set refTest to a reference to mail folder "Test" of mail folder "Lists"
set refTestBox to a reference to mailbox "Test.mbx" of refTest
open refTestBox
end
4. Setting x-headers
I found x-flies at http://www.emailman.com/eudora/mac/scripts.html. And
although I can definitely set setting 4401, no x-header is appended to my
mails. Is this just because I'm using the OSX version and Qualcomm have
nobbled it?
To set X-Headers you need to have my Extra-Headers plug-in installed.
You should find it on the web.... but I can't, so I'll make another
one.
You are setting 4401 in the wrong resource.
JD
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.