Re: Script to remove AUGD from Subject
Re: Script to remove AUGD from Subject
- Subject: Re: Script to remove AUGD from Subject
- From: Roy McCoy <email@hidden>
- Date: Sun, 11 Jan 2009 23:53:24 +0100
Axel Luttgens wrote:
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.
Ah yes, different accounts. I should have thought of that. Using your
command I get
tell application "Mail"
move selection to mailbox "INBOX" of account "Gmail" of application
"Mail"
end tell
and that works just like all the other ones.
Fuller Luther wrote:
In my script there is a lot of code before finally arriving at ...
repeat with msg in msgList
It looks like I'll have to deal with loops and the message viewer some
other time, since I can just move the selected message(s) here.
Thanks,
Roy McCoy
Rotterdam, NL
_______________________________________________
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