[TxMt] help: shell commands in HTML
Piero D'Ancona
pierodancona at gmail.com
Thu Sep 21 23:13:48 UTC 2006
Hi,
somebody help me, I guess it takes just a look at this code
to spot what's wrong (for you):
---------------------------------------
<html>
<head>
<script>
function letsTry () {
TextMate.system("/usr/bin/open -a /Applications/TeXniscope", null);
};
}
</script>
</head>
<body>
<span id="letsTry">
<a onClick="letsTry()" href="#">Let's Try</a></span>
</body>
</html>
---------------------------------------
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?
Piero
More information about the textmate
mailing list