On 3/4/2006, at 9:19, Benjamin Jackson wrote:
Oh, and BTW... you'll need to install CocoaDialog [...]
CocoaDialog is included with TextMate:
#!/usr/bin/env ruby
cocoa_dialog = ENV['TM_SUPPORT_PATH'] + '/bin/CocoaDialog.app/ Contents/MacOS/CocoaDialog' %x{ '#{cocoa_dialog}' inputbox \ --title 'Input Requested' \ --informative-text 'Bla bla bla' \ --button1 Okay --button2 Cancel }