On Mar 17, 2009, at 11:48 AM, Alan Watson wrote:
The AppleScript window object in TextMate 1.5.8 (under Mac OS 10.5.6) seems to be broken. I get get the window name and bounds, but not the window document:
tell application "TextMate" to return (document of front window) => NOTHING
You could do this:
tell application "TextMate" get name of front window
or
tell application "TextMate" get name of front document
Best, Charles