• 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: Mail OS X, can't move message or get date?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Mail OS X, can't move message or get date?


  • Subject: Re: Mail OS X, can't move message or get date?
  • From: Cornwall <email@hidden>
  • Date: Tue, 30 Oct 2001 16:55:50 -0800

At 9:33 AM -0800 10/30/01, Paul Marcos wrote:

>tell application "Mail"
> set lacct to account "Personal Mailboxes"
> set box1 to mailbox "Box1" of lacct
> set box2 to mailbox "Box2" of lacct
> set msgs1 to messages of box1 whose is deleted is false
> set msgs2 to messages of box2 whose is deleted is false
>
> if the (count of msgs1) is greater than 0 then
> set the container of every message in box1 to box2
> else if the (count of msgs2) is greater than 0 then
> set the container of every message in box2 to box1
> end if
>
>end tell

Thanks Paul. I might have gotten around to trying "container"
sometime day after tomorrow (or later), because that is not where I
was headed late last night when I called for help! I really thought
the mailbox object was where the answer would be found.

You have saved me a lot of time. Thanks again.

Corny


  • Follow-Ups:
    • Re: Mail OS X, can't move message or get date?
      • From: Paul Marcos <email@hidden>
References: 
 >Re: Mail OS X, can't move message or get date? (From: Paul Marcos <email@hidden>)

  • Prev by Date: Re: Script Menu In OS X
  • Next by Date: Re: Scripting Canto Cumulus 5.010
  • Previous by thread: Re: Mail OS X, can't move message or get date?
  • Next by thread: Re: Mail OS X, can't move message or get date?
  • Index(es):
    • Date
    • Thread