On 30 sep 2008, at 23:09, Lee Hinde wrote:

> I changed the last line as follows:
>       do shell script "/usr/local/bin/mate  " & quoted form of (POSIX  
> path of mypath)
>
> Sending the line number just confused TextMate.

Ah, mate does not use the syntax pretty much _every_ other editor uses  
(vi, emacs, nedit, bbedit), but wants this in another optional  
argument. This should work:

do shell script "/usr/local/bin/mate -l " & (theline as string) & " "  
& quoted form of (POSIX path of mypath)

Maarten

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "BBEdit Talk" group.
To post to this group, send email to bbedit@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/bbedit?hl=en
If you have a specific feature request or would like to report a suspected (or 
confirmed) problem with the software, please email to "[EMAIL PROTECTED]" 
rather than posting to the group.
-~----------~----~----~----~------~----~------~--~---

Reply via email to