insert doesn’t seem to be in the script dictionary for tm2...
t On 31 Aug 2012, at 12:39 PM, Hans-Jörg Bibiko bibiko@eva.mpg.de wrote:
Hi,
I'm just reviewing some of my bundles and came across with this issue:
I have several commands which display as HTML output window some characters and the user can insert a given character by clicking on it. The mechanism is done via the Javascript-system bridge to an AppleScript which should insert the character.
For TM2 it doesn't work. Thus my question is: Is this
- not supported by AppleScript,
- not yet implemented in TM2,
- broken,
- or is there an other more elegant way to achieve the insertion of a string from the HTML window to TM2?
I'm using TM2 (9293) on 10.7.4
Hmm, it seems that this: echo -en 'tell app "TextMate" to insert «data utf8e1b894» as Unicode text'| osascript --
is not possible under Lion.
Any hints/ideas?
Cheers, --Hans
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate