Re: Move message to another mailbox behaves erratically?
Re: Move message to another mailbox behaves erratically?
- Subject: Re: Move message to another mailbox behaves erratically?
- From: Michael Heinz <email@hidden>
- Date: Fri, 7 Mar 2003 20:56:36 -0500
My guess would be that Mail is returning references in the form of
"message
n of mailbox "Bloggs" of...", where n is a number. But once you move
one
message, what was message n is now message (n-1).
Try adding the line:
set my_messages to reverse of my_messages
before the repeat loop, and see if that solves the problem.
Shane's idea worked perfectly. Both the archive and sorting scripts
work with this change.
Thanks!
_______________________________________________
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.