• 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: (no subject)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: (no subject)


  • Subject: Re: (no subject)
  • From: Michelle Steiner <email@hidden>
  • Date: Tue, 25 Feb 2003 01:23:47 -0700

On Monday, February 24, 2003, at 09:54 PM, Tom Tidland wrote:

I wanted use applescript to perform a very simple operation...

Move a message from one mailbox to another mailbox.

I spent 6 hours trying to do this.

I failed, and felt very frustrated with the Mail dictionary

I just attempted this, never having tried it before. it took me about five minutes.

tell application "Mail"
set foo to the selected messages of message viewer 1
set bar to item 1 of foo
set the mailbox of bar to mailbox "aaa"
end tell

It worked as expected.

--Michelle

--
"There's some good in the world, Mr. Frodo, and it's worth fighting for."
_______________________________________________
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.
References: 
 >(no subject) (From: Tom Tidland <email@hidden>)

  • Prev by Date: Re: Scripting Mail:get selection
  • Next by Date: Re: Scripting Mail:get selection
  • Previous by thread: (no subject)
  • Next by thread: Testing an algorithm...
  • Index(es):
    • Date
    • Thread