On 9/23/06 2:18 PM, "Ulf Dahlén" <[EMAIL PROTECTED]> wrote:
> I have a rule that includes a "Move message" as action 1 and an applescript > as action 2. When the applescript executes, the move action is often not > completed. It seems like the move action starts something that doesn't > completely finish before my applescript starts. > > A "delay" in the applescript helps most of the time, but not always. Is > there a way I can make sure the move is completed before my code runs? > > I'm running Entourage 2004. The folders are on an IMAP server. 1) Since you apparently know how to script, why not just remove the Move action and put the move into the AppleScript itself? 2) If you don't feel comfortable doing that, try switching the order around. Do the script action before the move action, if possible. I would be very dubious to hear that you have this problem with a POP rule. Local (POP) messages should move almost instantaneously, without problems. I would not be at all surprised to hear of such problems on IMAP or Exchange rules. The message is actually deleted and then copied to the other location where you're moving it to. If you're moving it to another IMAP or Exchange folder on the server, there can be a huge server delay while the copy takes place, the "new" message syncs back to Entourage, and an ID assigned. I would expect all sorts of problems. I think it should work a lot better to run the script first before moving, and/or incorporate the move into the script. -- Paul Berkowitz -- To unsubscribe: <mailto:[EMAIL PROTECTED]> archives: <http://www.mail-archive.com/entourage-talk%40lists.letterrip.com/> old-archive: <http://www.mail-archive.com/entourage-talk%40lists.boingo.com/>
