Ah, okay, sorry guys. The code involved is ANY CocoaDialog calls. For
fullProjectPath=$(CocoaDialog filesave \
--text "Please name your project and select a folder to save it
--title "Create New Project" \
--with-extensions .tmproj \
fullProjectPath's value is now "QT call results in 0".
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 [http://slaughterballoon.com/textmate/Picture_2.png
in case. I hope this helps clear up the matter.
On Thu, Jul 23, 2009 at 6:07 PM, Matt Neuburg <matt(a)tidbits.com> wrote:
On 7/23/09 2:44 PM, in article
Haha, thanks though.
> Yeah, every time I ask a CocoaDialog / ui.rb question, no one seems to
> the answer.
Well, some things depend on how you ask the question. The O.P. didn't post
any code and he didn't say what precisely he was trying to get CocoaDialog
to do. That makes it kind of hard to answer. m.
matt neuburg, phd = matt(a)tidbits.com, <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Guide - Second Edition!
textmate mailing list