ooh. I'll have to look into that. I wrote that at work to save me some time, so it was sort of the quick and dirty version. I've been thinking about ways to improve it, though.
-dave
On 1/19/07, Charilaos Skiadas skiadas@hanover.edu wrote:
On Jan 19, 2007, at 8:24 PM, Dave Grijalva wrote:
ok. here's the updated version (sorry if nobody cares)
res=$(CocoaDialog inputbox --title "Open URL" \
You might want to google 'tm_dialog'. We are deprecating CocoaDialog.
Also, we have ruby wrappers for typical user interaction windows, that you can use instead of doing the call yourself, if you are willing to work in ruby that is. They are in Support/lib/dialog.rb. I am seeing dialog.py there also, so you might be able to do that from python if that is your preferred scripting language.
Haris
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate