[TxMt] A revision of the Fetch Categories Command

Brett Terpstra brett at circlesixdesign.com
Mon Oct 2 02:46:51 UTC 2006


No, don't increase the delay just because I write commands that take
ridiculously long times to run, assuming a 3 second delay is working for
everything else.  I don't suppose there's a cursor command in Applescript
that lets you set the cursor or override the busy wheel?


On 10/1/06 9:26 PM, "Allan Odgaard" <throw-away-1 at macromates.com> wrote:

> On 1/10/2006, at 15:31, Brett Terpstra wrote:
> 
>> [...] Does anyone know why you sometimes get a beachball cursor
>> when the menu comes up and sometimes you don't?  By that I mean
>> that the beachball doesn't go away, you can actually click your
>> choices with it.  I'd like to prevent that if I can.
> 
> This is because TM is actually responding to events while running the
> command which in turn opens the AppleScript dialog.
> 
> That would normally mean no busy wheel at all, but that¹s not good
> UI, e.g. for commands which takes a long time to run. So TextMate
> will activate the wheel cursor itself if the command has been running
> for 3 seconds *and* did not bring up any dialogs.
> 
> So the busy wheel will appear when it takes more than 3 seconds to
> reach the first dialog of the command. I can increase the delay to 5
> or maybe 7 seconds.
> 
> 
> ______________________________________________________________________
> For new threads USE THIS: textmate at lists.macromates.com
> (threading gets destroyed and the universe will collapse if you don't)
> http://lists.macromates.com/mailman/listinfo/textmate





More information about the textmate mailing list