[TxMt] how to call CocoaDialog from Ruby?

Matt Neuburg matt at tidbits.com
Wed Apr 16 19:25:29 UTC 2008

In my Ruby script which is called somewhat indirectly, I tried saying
`CocoaDialog blahblah` but it didn't work; evidently the indirectness means
that I'm not inheriting some path trickery from TM. So I changed it to this:


That works. But is there a better way? Thx - m.

matt neuburg, phd = matt at tidbits.com, <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
One of the 2007 MacTech Top 25: <http://tinyurl.com/2rh4pf>
AppleScript: the Definitive Guide - Second Edition!

More information about the textmate mailing list