Thank you very much :)
Ill let you know how i get on.
On 21 Apr 2007, at 14:00, Allan Odgaard wrote:
On 20. Apr 2007, at 23:22, Lawrence Curtis wrote:
[...] Rather than just tell me the syntax if you could point me along to the js file that the object is based on or the docs or if failing that just tell me the command, that be great!
The function is TextMate.system(shell_cmd, handler) -- but there is a caveat, this does *not* work for files retrieved over http (for security reasons). For more info see http://macromates.com/textmate/ manual/commands#html_output
So this complicates things, i.e. the TextMate command would need to curl the page from the server, and cat that to stdout, so that it can stay on the internal TM url scheme, where shell commands can be executed.
How feasible this is, depends on how complex the customization page (s) are. I.e. if it’s just a single page, it should not be a problem nor add any real complexity, as the command would simply be:
curl -s «your server page»
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate