Hello there,

TextMate 2 removed the option of new-from-template, so with your help I created a command. After updating to Yosemite and TextMate 2.0-beta.6 it stopped working.

Compressed version of the problem
#!/usr/bin/osascript
tell application "System Events"
    keystroke "p"
end tell

Error:
HTML5:63:122: execution error: An error of type -10810 has occurred. (-10810)


HTML5 is the name of the command. I don't know what 63 and 122 refers to, as there are only 18 lines in my command. Is it perhaps a permissions problem?

All the best,
Rasmus