[TxMt] Unwanted newline after Replace Selected Text

Tim Mansour tim at neologica.com.au
Fri Apr 20 05:01:11 UTC 2007


On 12/04/2007, at 11:56 pm, Robin Houston wrote:

> Ugly, but ought to work:
>
> echo -n "$(osascript <<-APPLESCRIPT
> set title to "vanishing"
> if title is not "" then
>        tell application "FileMaker Pro Advanced"
>                if not (exists window "HTitles") then open alias  
> "HD:HTitles.fp7"
>                set cell "_Search" of layout "Titles" to title
>                do script "Search For Title"
>                set href to cell "_Search" of layout "Titles"
>                set img to cell "_thumb" of layout "Titles"
>        end tell
>        if href is not "" then set title to img & href
> end if
> return title
> APPLESCRIPT)"


A very belated thanks Robin--that did indeed work.


-- 
Tim Mansour <tim at neologica.com.au>
-



More information about the textmate mailing list