• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: AppleScript to move messages between mailboxes in Apple Mail
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AppleScript to move messages between mailboxes in Apple Mail


  • Subject: Re: AppleScript to move messages between mailboxes in Apple Mail
  • From: Michelle Steiner <email@hidden>
  • Date: Wed, 21 Jul 2010 11:30:54 -0700

On Jul 21, 2010, at 9:51 AM, Jashanjeet Singh wrote:

> My question is that is it possible to move messages from one mailbox
> to another by telling the Mail application that move first 5 messages
> of the mailbox "Inbox" to mailbox "Filed" without selecting the
> messages that needs to move.

This works:

tell application "Mail" to move messages 1 through 3 of mailbox "Rocky" to mailbox "rocky test"

So does this:

tell application "Mail" to set mailbox of messages 1 through 3 of mailbox "Rocky" to mailbox "rocky test"

-- Michelle

--
The reason that so few people think outside the box is that all the pay and benefits are inside the box.

 _______________________________________________
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

References: 
 >AppleScript to move messages between mailboxes in Apple Mail (From: Jashanjeet Singh <email@hidden>)

  • Prev by Date: Re: AppleScript to move messages between mailboxes in Apple Mail
  • Next by Date: Re: Sort Array by Column X
  • Previous by thread: Re: AppleScript to move messages between mailboxes in Apple Mail
  • Next by thread: Re: AppleScript to move messages between mailboxes in Apple Mail
  • Index(es):
    • Date
    • Thread