[TxMt] Interprocess communication with TextMate -- selecting text in frontmost window

Todd Ditchendorf itod at mac.com
Tue Jan 23 18:44:43 UTC 2007


Kevin: thanks for the heads up.

All: This description of the TextMate URL scheme will achieve what I  
wanted:

http://www.macromates.com/textmate/manual/using_the_txmt_url_scheme.html


Todd Ditchendorf

Scandalous Software - Mac XML Developer Tools
http://scan.dalo.us



On Jan 23, 2007, at 10:33 AM, Kevin Ballard wrote:

> Do you know the path to the document? if so, you could use a tm- 
> file:// URI with the path to the document and specify the line  
> there (I forget the syntax for that, but I'd imagine it's in the  
> manual).
>
> If you don't know the path to the frontmost document, then why are  
> you trying to select a given line in it?
>
> On Jan 23, 2007, at 1:24 PM, Todd Ditchendorf wrote:
>
>> Can anyone advise on how best to do interprocess communication  
>> with TextMate:
>>
>> I'd like to be able to write a script (or whatever) that will tell  
>> TextMate to select a particular line in the front most document.
>>
>> AppleScript would be the perfect fit here, but I get the feeling  
>> this isn't possible with TextMate's current scriptability. Am I  
>> wrong?
>>
>> Any other ideas on how to achieve this effect?
>
> -- 
> Kevin Ballard
> http://kevin.sb.org
> kevin at sb.org
> http://www.tildesoft.com
>
>
>
> ______________________________________________________________________
> For new threads USE THIS: textmate at lists.macromates.com
> (threading gets destroyed and the universe will collapse if you don't)
> http://lists.macromates.com/mailman/listinfo/textmate




More information about the textmate mailing list