From: 12 34 Date: 2007-06-21T02:52:16+09:00 Subject: Default text entered in a puts dialog I want to put a default answer in the text entry box that appears when you puts some text. photoGMT = -4 puts "What time zone are the photos in?" answer = gets.chomp.to_i I'd like photoGMT to appear as a default answer. I know this wouldn't be very convenient in Terminal, but works well with TextMate. For ASers this is equivalent to set photoGMT to -4 display dialog "What time zone are the photos in?" default answer photoGMT -- Posted via http://www.ruby-forum.com/.