Since Script Debugger 4 is (I believe) a Cocoa Application, if you install edit in textmate(bundles > textmate > install edit in textmate) you can open your files in Script Debugger then use edit in textmate from there(edit > edit in textmate (^⌘E by default) when you save your file the contents are sent back to the field you edit it from; closing it returns focus to the original window. This works with the default script editor and all other Cocoa Applications, and is freeken sweet.
William
On Nov 15, 2006, at 12:38 PM, Adam Bell wrote:
Thanks, but that's an osascript targeted at the Script Editor. Unfortunately, Script Debugger 4 (an OS X upgrade) is not yet scriptable, so it's not on, I guess - the osascript will just bomb (A failing of SD4, clearly, not TextMate, but reduces the value of TextMate to me and it's around $60 Cdn). TextMate isn't very scriptable, but I'll try to write a copy/paste routine to get there.
Adam
At 6:11 PM +0100 11/15/06, Allan Odgaard wrote:
On 15. Nov 2006, at 15:15, Adam Bell wrote:
I have just downloaded TextMate for a try before buy and because I write a lot of AppleScripts, wanted to open and compile my text in my Script Editor of choice: Script Debugger 4 (set as my default). TM defaults to Apple's Script Editor. How do I change that?
If you select Bundles Å® Bundle Editor Å® Edit Commands and unfold the AppleScript item, you will see the source for the Compile in Script editor.
You would need to change that to address your preferred tool instead of Script Editor.
_ For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
=
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate