From: textmate-bounces+dru=summitprojects.com@lists.macromates.com [mailto:textmate-bounces+dru=summitprojects.com@lists.macromates.com] On Behalf Of Hans-Jörg Bibiko Sent: Wednesday, October 28, 2009 7:43 AM
Or a bit faster is this tmCommand for MacOSX >= 10.5:
Input: none Output: discard Command: cat <<-AS | osascript -- tell application "System Events" tell process "TextMate" tell menu bar 1 tell menu bar item "Edit" tell menu "Edit" click menu item "Undo" click menu item "Redo" end tell end tell end tell end tell end tell AS
It won't be faster significantly if one pre-compliles it.
_______________________________________________