Yvan,
I agree, that scanning the complete inbox is not the best solution. For most of my accounts it’s not a big problem, they are fairly low volume. The big problem is my Gmail account. Gmail has an mailbox called ‘Starred’ that holds all flagged msgs but it is not a real mailbox. Every time I try to do anything with it applescript errors ‘can’t get mailbox’. I need a solution that will work with iOS as well and moving msgs around to different folders seems to defeat the purpose of flagging IMHO. If there was some way to change the scheduling priority (nice) of the script that would be great. I don’t care if it takes and extra few seconds to run if it doesn’t pull 100% of the cpu and drag mail to a halt.
James Roberts
"Nothing travels faster than the speed of light, with the possible exception of bad news, which obeys its own set of laws" ~ Douglas Adams
Le 14/01/2013 à 02:46, James Roberts < email@hidden> a écrit : Merci Yvan,
That stabilized the run time to about 5 sec. It still hangs Mail’s GUI but only long enough to be annoying not unworkable :-) Can you explain what is happening with calling the script with ‘run’. I noticed the script dose not appear as it’s own process now, just mail cpu jumps to 100%.
|