[TxMt] Re: AppleScript window object broken?

Charles Turner vze26m98 at optonline.net
Tue Mar 17 23:03:47 UTC 2009


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




More information about the textmate mailing list