I've been using for years now the following applescript, triggered via iKey by an
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?