[TxMt] Control TM with AppleScript?

Hans-Joerg Bibiko bibiko at eva.mpg.de
Wed Dec 6 15:57:17 UTC 2006


Many thank,

but if I try to execute this as bash using osascript or with Script  
Editor I always get the error message:

195:228: execution error: System Events got an error:  
NSReceiverEvaluationScriptError: 4 (1)

TM will be activated but no further actions.

??

On 6 Dec 2006, at 16:47, Charilaos Skiadas wrote:

> 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


-Hans



More information about the textmate mailing list