[TxMt] question: how to insert a "" from javascript?

Allan Odgaard throw-away-1 at macromates.com
Tue Sep 26 13:31:41 UTC 2006


On 26/9/2006, at 11:27, Piero D'Ancona wrote:

> [...] osascript -s 'tell app "TextMate" to insert "\"'
>
> I want to do the same from a javascript
> contained in an a href link. But I can not find the
> correct way to escape things [...]

Use \\ for one backslash in JavaScript strings.




More information about the textmate mailing list