[TxMt] Re: question: how to insert a

Piero D'Ancona pierodancona at gmail.com
Tue Sep 26 14:44:13 UTC 2006


Allan Odgaard <throw-away-1 at ...> writes:

> 
> 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.
> 
> 

I am not that blind, I tried \eqref, \\eqref, \\\eqref,
\\\\eqref... up to six (!) but the backslash is not
inserted: only "eqref" or nothing at all, depending
on the number of slashes.
I'll try again since the word of the master is beyond doubt, but...

Piero






More information about the textmate mailing list