[TxMt] Slow osascript in drag command

Allan Odgaard throw-away-2 at macromates.com
Tue Dec 18 18:39:29 UTC 2007


On 14 Dec 2007, at 04:55, Dr. Drang wrote:

> [...]
> This is set up so that when I hold the Option key down as I drag,  
> the name of the card is inserted in the TM window. If I *don't* hold  
> the Option key down, the usual vCard data is inserted. The behavior  
> on my main computer--an Intel iMac running OS X 10.4.11 with TM  
> 1.5.7 (1436)--is like this:
>
> Dragging from       Option key          Time to run
> ----------------------------------------------------
> file in Finder      not pressed           instant
> file in Finder      pressed               instant
> card from AB        not pressed           instant
> card from AB        pressed             20+ seconds
>
> I'd like to know why there's such a difference and what I can do, if  
> anything, to speed things up.

This is just a hunch, but maybe holding down the option key has AB do  
something special.

Try e.g. swap the behavior of what to do when option is held/released  
and/or try another modifier key, see if that changes things.

20+ seconds stall does however sound very much like something times out.




More information about the textmate mailing list