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.