On 4/12/07, <b class="gmail_sendername">Tim Mansour</b> <<a href="mailto:tim@neologica.com.au">tim@neologica.com.au</a>> wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I'm not sure what I can change in the above to ensure there's no<br>newline returned to TextMate?</blockquote><div><br>Ugly, but ought to work:<br><br>echo -n "$(osascript <<-APPLESCRIPT<br>set title to "vanishing"
<br>if title is not "" then<br>        tell application "FileMaker Pro Advanced"<br>                if not (exists window "HTitles") then open alias "HD:HTitles.fp7"<br>                set cell "_Search" of layout "Titles" to title
<br>                do script "Search For Title"<br>                set href to cell "_Search" of layout "Titles"<br>                set img to cell "_thumb" of layout "Titles"
<br>        end tell<br>        if href is not "" then set title to img & href<br>end if<br>return title<br>APPLESCRIPT)"<br><br><br><br>Robin<br><br></div></div>