[TxMt] TM & UBB code some questions
Thijs van der Vossen
t.vandervossen at fngtps.com
Wed Jan 26 08:37:25 UTC 2005
On Jan 25, 2005, at 19:28, Allan Odgaard wrote:
> There need to be some way to call TM actions, and I'm sorry to say so,
> but I think AS is the correct answer.
>
> AS integrates with other applications which one may use in combination
> with TextMate, like Automator, Script Editor (recording scripts) etc.
> and it should have support for the platform specific “structures” like
> unicode strings, file objects, images etc.
>
> Basically though, TM is not adding support for apple script, but apple
> events, and in theory, one could provide another scripting language
> with the inter-application communication capabilities which currently
> makes AS a prime candidate.
>
> So providing TM with AS support does not take away the ability to
> write functionality in Ruby, but if that Ruby program wants to e.g.
> place the caret within TM, it'll need either to go through the
> osascript command, or someone should write an extension to Ruby which
> allows it to send apple events.
IMHO Support for AS is the only sensible thing to do. For Python, there
already is an the Appscript module, see:
http://www.pythonmac.org/wiki/AppscriptModule for more information and
http://www.pythonmac.org/wiki/AppleScript for other options.
--
Fingertips - http://www.fngtps.com
Firefox - Take back the web - http://getfirefox.com
More information about the textmate
mailing list