[TxMt] Control TM with AppleScript?

Charilaos Skiadas skiadas at hanover.edu
Wed Dec 6 15:47:11 UTC 2006


tell application "TextMate" to activate
tell application "System Events"
	tell process "TextMate"
		tell menu bar 1
			tell menu bar item "Help"
				tell menu 1
					tell menu item "Release Notes"
						perform action "AXPress"
					end tell
				end tell
			end tell
		end tell
	end tell
end tell

On Dec 6, 2006, at 10:27 AM, Hans-Joerg Bibiko wrote:

> tell app "TextMate"
> 	activate
> end tell
> tell app "System Events"
>     tell process "TextMate.app"
>         tell menu bar 1
>             tell menu bar item "Help"
>                 tell menu "Help"
>                     click menu item "Release Notes"
>                 end tell
>             end tell
>         end tell
>     end tell
> end tell

Haris





More information about the textmate mailing list