<div dir="ltr"><div class="gmail_extra"><div><div class="gmail_signature"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div>Hi, </div><div><br></div><div>thanks for the tip!</div><div><span style="color:rgb(0,0,0);font-family:Helvetica,Arial;font-size:13px"><br></span></div><div><span style="color:rgb(0,0,0);font-family:Helvetica,Arial;font-size:13px">Command + [1-9] does the job, I wonder if that could be done programmatically though.</span></div><div><br></div><div>I'm building a bundle to interact with Extempore, an environment used (among other things) for audiovisual livecoding. More info here: <a href="http://benswift.me/2012/09/26/interacting-with-the-extempore-compiler/">http://benswift.me/2012/09/26/interacting-with-the-extempore-compiler/</a></div><div><br></div><div>Essentially, the bundle [1] reads a scheme expression then sends its to the Extempore server via TCP. The server returns some results which get printed out to the HTML window (with some bells and whistles - that's why I'm not using a simple tooltip). </div><div><br></div><div>The links you've suggested look very interesting but maybe a bit too complex for my usecase? <i>Livereload</i> does not seem to be free though. I should look more into <i>Browsersync</i>..</div><div><br></div><div>Thanks, </div><div>Michele </div><div><br></div><div><br></div><div><br></div><div>[1] <a href="https://github.com/lambdamusic/xtm-utils/tree/master/textmate-bundle/Extempore.tmbundle">https://github.com/lambdamusic/xtm-utils/tree/master/textmate-bundle/Extempore.tmbundle</a> (still a work in progress!)</div><div>   </div><div><br></div><div><br></div><div><br></div><div><font size="1" face="courier new, monospace" style="background-color:rgb(255,255,255)" color="#cccccc">----</font></div><div><font size="1" face="courier new, monospace" style="background-color:rgb(255,255,255)" color="#cccccc">Michele Pasin</font></div><div><font size="1" face="courier new, monospace" style="background-color:rgb(255,255,255)" color="#cccccc"><a href="http://www.michelepasin.org" target="_blank">http://www.michelepasin.org</a></font></div><div><br></div></div></div></div></div></div>
<br><div class="gmail_quote">On 4 February 2016 at 00:50, Graham Heath <span dir="ltr"><<a href="mailto:heathg@google.com" target="_blank">heathg@google.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div style="word-wrap:break-word"><div style="font-family:Helvetica,Arial;font-size:13px;color:rgb(0,0,0);margin:0px">You could use Command + [1-9] to reselect a tab.</div><div style="font-family:Helvetica,Arial;font-size:13px;color:rgb(0,0,0);margin:0px"><br></div><div style="font-family:Helvetica,Arial;font-size:13px;color:rgb(0,0,0);margin:0px">I don’t know what you’re building, but if you wanted to, you could add <a href="http://livereload.com/" target="_blank"><span style="color:rgb(0,0,0)">LiveReload</span></a> or <a href="https://www.browsersync.io/" target="_blank"><span style="color:rgb(0,0,0)">BrowserSync</span></a>, this would take care of auto refresh for you. This way you would only open the HTML output once, and refreshes would be triggered automatically on save.</div><div><div style="font-family:helvetica,arial;font-size:13px"> </div><div style="font-family:helvetica,arial;font-size:13px">Graham Heath</div></div><div><div class="h5"> <br><p>On February 3, 2016 at 3:42:44 PM, <a href="mailto:michele.pasin@gmail.com" target="_blank">michele.pasin@gmail.com</a> (<a href="mailto:michele.pasin@gmail.com" target="_blank">michele.pasin@gmail.com</a>) wrote:</p> </div></div><blockquote type="cite"><span><div><div></div><div><div><div class="h5">Ps: apologies for the email subject - sent too soon!
<br>
<br>Michele
<br>
<br>
<br>> On 3 Feb 2016, at 18:23, Michele Pasin <<a href="mailto:michele.pasin@gmail.com" target="_blank">michele.pasin@gmail.com</a>> wrote:
<br>>  
<br>> Hi folks,
<br>>  
<br>> I have a bundle command that generates some text and sends it to the 'HTML output' panel.  
<br>>  
<br>> That works wonderfully, however each time I do that the focus (cursor) switches to the 'HTML output' panel too.  
<br>>  
<br>> So I was wondering if there's a way to keep the focus on the main editor window (so to use the panel just as a nice 'feedback' window) and keep coding without interruptions.
<br>>  
<br>> Any ideas?
<br>>  
<br>> cheers
<br>> Michele
<br>>  
<br>>  
<br>>  
<br>>  
<br>>  
<br>> <Screen Shot 2016-02-03 at 18.11.39.png>    
<br>>  
<br>>  
<br>>  
<br>>  
<br>>  
<br>>  
<br>>  
<br>
<br></div></div>_______________________________________________
<br>textmate mailing list
<br><a href="mailto:textmate@lists.macromates.com" target="_blank">textmate@lists.macromates.com</a>
<br><a href="http://lists.macromates.com/listinfo/textmate" target="_blank">http://lists.macromates.com/listinfo/textmate</a>
<br></div></div></span></blockquote></div></blockquote></div><br></div></div>