You can use ‘sample’ to get a sample of what osascript does (or maybe Shark).
That might help you find out what is causing the problem. AFAIK osascript does scan lots of scripting dictionaries and load scripting additions when it is launched, so likely your problem is with some of that. Maybe it is trying to load a scripting dictionary from /Network/ Library/… and rather than immidiately fail, there is a timeout because the OS tries to automount some previously seen drive, etc. (probably not this exact issue, but I have seen problems like that).
On 10 Oct 2009, at 04:49, bean22 wrote:
Interesting -
turns out I remembered it working because it still does - on my other computer, which has snow leopard.
my main computer still has leopard, and has the delay...
same version of textmate
same bundle code
Allan Odgaard-4 wrote:
On 8 Oct 2009, at 02:39, bean22 wrote:
Then went ahead and took tim's suggestion - runs very slow in the terminal, too, so it must be applescript. Time to look for another way.
You indicated the problem was new. Perhaps this is related to installed scripting additions being loaded by osascript? This could be indirectly, e.g. I think 1Passwd now does their stuff via a scripting addition.
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
-- View this message in context: http://www.nabble.com/Textmate-bundle-command-delay-tp25769214p25830513.html Sent from the textmate users mailing list archive at Nabble.com.
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate