[TxMt] help: shell commands in HTML

Piero D'Ancona pierodancona at gmail.com
Thu Sep 21 23:13:48 UTC 2006

somebody help me, I guess it takes just a look at this code
to spot what's wrong (for you):

     function letsTry () {
     TextMate.system("/usr/bin/open -a /Applications/TeXniscope", null);

	<span id="letsTry">
  <a onClick="letsTry()" href="#">Let's Try</a></span>

I put this in a p.html file. I then create a command in TextMate
that does " cat p.html " and outputs to HTML. The HTML appears,
but of course clicking on the link does nothing, not certainly
opening TeXniscope as hoped. Documentation(s) perused,
sleep hours lost. Any idea?

More information about the textmate mailing list