Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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. –  Lri 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
add comment

1 Answer 1

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
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.