Twitter Updates

Saturday, 18 July 2009

CocoaDialog DialogBoxes for scripts

I just discovered CocoaDialog, this allows scripts (Ruby, Perl, Bash) to ask for user input in a pretty way. Will be useful for creating double click runnable script/programs

Download .dmg and copy to /Applications/

test run from bash terminal (/Applications/Utilities/
$ /Applications/ standard-inputbox --title "Your Name" --informative-text "Enter your name"

Example should show this:

Pressing ok will return:

Pressing cancel will output:

No comments: