[TxMt] Re: New Actionscript command using XML inputFormat

Allan Odgaard throw-away-1 at macromates.com
Mon Apr 3 08:02:28 UTC 2006


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
    }





More information about the textmate mailing list