[TxMt] scriptmate: how to start different tasks from different windows displayed in different HTML windows?

Hans-Joerg Bibiko bibiko at eva.mpg.de
Mon Apr 21 15:59:41 UTC 2008


On 21 Apr 2008, at 17:16, Allan Odgaard wrote:
> On 18 Apr 2008, at 16:23, Hans-Joerg Bibiko wrote:
>> [...]
>> But this leads to the problem that I want to have one HTML window  
>> for one script. I do not want several HTML windows hanging around,  
>> I do not know which belongs to which.
>>
>> Is that possible in some way?
I forgot to mention, this is not an urgent request ;)


>> The window is tied to the commands UUID so the same command cannot  
>> get more than one window open unless the already window is busy.
Ahh, I see.

> I take it you would be happy with a per-command setting for whether  
> the window should be re-used globally or only for the current file!?!
Well, it is not easy ;)
The current behaviour is actually perfect. But there are some cases  
where it would be nice to have an option to bind the HTML output of a  
scriptmate to one particular HTML window. To switch this behaviour  
globally to "always open a new HTML window" is not a good idea I mean,  
because then one would have many such windows open.
I have in mind something like a command exit_show_html("A NAME"). If a  
name is given the output will be written into that HTML window, if not  
everything behaves like now.


> Not sure I will actually add such option though, as I have something  
> else in mind that might remedy your need for such option.
As I've already mentioned, it is not urgent.
TextMate breaks in on me every single day, thus I can wait ;)


Thanks,

--Hans



More information about the textmate mailing list