Ah, okay, sorry guys. The code involved is ANY CocoaDialog calls. For example:<br><br>[bash script]<br><br>fullProjectPath=$(CocoaDialog filesave \<br>            --text "Please name your project and select a folder to save it into" \<br>
            --title "Create New Project" \<br>            --with-extensions .tmproj \<br>            --with-file "$defaultProjectName");<br><br>[/bash script]<br><br>fullProjectPath's value is now "QT call results in 0".<br>
<br>This happens in all bundles, or so it seems. It goes further than just shell scripts in that TM's internal functions are affected [although I'm guessing that these internal functions also use CocoaDialog]. Attached is a screen shot, and linked [<a href="http://slaughterballoon.com/textmate/Picture_2.png">http://slaughterballoon.com/textmate/Picture_2.png</a>] just in case. I hope this helps clear up the matter.<br>
<br><div class="gmail_quote">On Thu, Jul 23, 2009 at 6:07 PM, Matt Neuburg <span dir="ltr"><<a href="mailto:matt@tidbits.com">matt@tidbits.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On 7/23/09 2:44 PM, in article<br>
<a href="mailto:65f5d7330907231444p4a647c7ie2e69ab0adc139e3@mail.gmail.com">65f5d7330907231444p4a647c7ie2e69ab0adc139e3@mail.gmail.com</a>, "Schell"<br>
<<a href="mailto:efsubenovex@gmail.com">efsubenovex@gmail.com</a>> wrote:<br>
<br>
> Haha, thanks though.<br>
<div class="im">><br>
>> Yeah, every time I ask a CocoaDialog / ui.rb question, no one seems to have<br>
>> the answer.<br>
<br>
</div>Well, some things depend on how you ask the question. The O.P. didn't post<br>
any code and he didn't say what precisely he was trying to get CocoaDialog<br>
to do. That makes it kind of hard to answer. m.<br>
<font color="#888888"><br>
--<br>
matt neuburg, phd = <a href="mailto:matt@tidbits.com">matt@tidbits.com</a>, <<a href="http://www.tidbits.com/matt/" target="_blank">http://www.tidbits.com/matt/</a>><br>
A fool + a tool + an autorelease pool = cool!<br>
AppleScript: the Definitive Guide - Second Edition!<br>
<a href="http://www.tidbits.com/matt/default.html#applescriptthings" target="_blank">http://www.tidbits.com/matt/default.html#applescriptthings</a><br>
</font><div><div></div><div class="h5"><br>
<br>
<br>
<br>
_______________________________________________<br>
textmate mailing list<br>
<a href="mailto:textmate@lists.macromates.com">textmate@lists.macromates.com</a><br>
<a href="http://lists.macromates.com/listinfo/textmate" target="_blank">http://lists.macromates.com/listinfo/textmate</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Schell Scivally<br><a href="mailto:efsubenovex@gmail.com">efsubenovex@gmail.com</a><br><a href="http://blog.efnx.com">http://blog.efnx.com</a><br>