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

Todd Ditchendorf itod at mac.com
Tue Jan 23 18:35:41 UTC 2007


> 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).

I'll check this out... sounds very promising. thanks!

> If you don't know the path to the frontmost document, then why are  
> you trying to select a given line in it?

I do.



> 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