Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've been using for years now the following applescript, triggered via iKey by an F12 keystroke:

tell application "Mail" to move (get selection) to mailbox "Archive"

I'm using it to move inbox messages to the archive, which makes for efficient filtering by backspace/F12 keystrokes.

On 10.5 and 10.6 it would work nearly instantly, but with 10.7 there is a 1-3 seconds delay until the message disappears from the inbox, and during that time the rest of the interface is non-responsive (can't click other messages).

I'm pretty sure it's not a fault of iKey since other macros triggered through it in Mail.app (such as typing some text) work instantly as before.

How should I approach solving this?

share|improve this question
1  
A similar thread was posted at MacScripter / Mail.app "move message" command ridiculously slow in Lion. There's no answers at the moment. – user495470 Aug 5 '11 at 13:00
    
Thanks, I'll follow there as well – GJ. Aug 5 '11 at 21:24
    
I'm the OP of the MacScripter thread. Would love to hear if anyone comes up with a resolution. I've submitted a bug report to Apple (Open Radar here). Feel free to do the same! – Dan B Aug 6 '11 at 18:28

I've managed to find an indirect solution to my specific problem, by using Mail's Archive command (under the Message menu).

I'm just using iKey's to trigger this menu command instead of any AppleScript, but I guess you could also easily use pure AppleScript for triggering this menu item (or moving to some other mailbox via the Move To submenu...)

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .