Re: Account Mail Question
Re: Account Mail Question
- Subject: Re: Account Mail Question
- From: Michelle Steiner <email@hidden>
- Date: Sat, 29 Dec 2007 17:41:02 -0700
On Dec 29, 2007, at 5:02 PM, m wrote: tell application "Mail" tell message viewer 1 set theMSG to first item of (messages whose id is 59252) end tell move theMSG to mailbox "INBOX_Duplicates" end tell
I get the error message "The variable theMSG is not defined." if I am online. Highlighted is "TheMSG" in line 5.
No Error message and works if "offline"
Perhaps some local setting in the preferences that is different from you and I, perhaps how long we leave the messages on the server before deleting? In fact, that may be it, now that I think of it.
When you move the message its ID increases by 1. Until now, I had thought that the message's ID was immutable. So if you run the script again without changing the ID number in the script, it will fail with that error.
Please explain to us what you are actually trying to do and why you're trying to do it that way, and maybe one of us can come up with a better way to do it.
-- "So why did you do it?
"Cause I was told not to"
|
_______________________________________________
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