Re: Script to remove AUGD from Subject
Re: Script to remove AUGD from Subject
- Subject: Re: Script to remove AUGD from Subject
- From: Axel Luttgens <email@hidden>
- Date: Sun, 11 Jan 2009 16:12:16 +0100
Le 11 janv. 09 à 14:26, Roy McCoy a écrit :
[...]
Coincidentally, here's some more Mail strangeness that I encountered
right after reading the above message. First of all, this simple
little script didn't work:
tell application "Mail"
move selection to mailbox "Inbox"
end tell
while this one, for example, does:
tell application "Mail"
move selection to mailbox "UEA/UK"
end tell
So it turns out like with smart mailboxes before, that Inbox isn't a
real mailbox?
Hello Roy,
Having a look at Mail's dictionary, it appears that the application
has some top level mailboxes that are reachable through properties.
For example, there is the inbox property.
Being mailboxes, those top level mailboxes may have other mailboxes as
elements; so, let's try this one:
tell application "Mail" to get mailboxes of inbox
It now clearly appears that each account has a mailbox named "INBOX";
but Mail itself doesn't have such a mailbox.
HTH,
Axel
_______________________________________________
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