# this code is to list the hypernote directories def rwddialogmapdirectoryview if $temp_rwddialogmap_directory == nil temp_dir = $rwddialogmap_directory $temp_rwddialogmap_directory = $rwddialogmap_directory else temp_dir = $temp_rwddialogmap_directory end @dialog_directory3= temp_dir if FileTest.directory?(temp_dir) fileList = Dir.new(temp_dir).entries.sort.delete_if { |x| File.extname(x) > '' } @dialogchoicepulldown = fileList.rwd_options end end