on mouseUp answer file "Select a Text file" // open up a file-selection dialog
if it is empty then exit mouseUp // if user clicks "Cancel", do nothing
put it into myfile // save the name of the file they selected
put url ("file:" & myfile) into field "names" // load the file into out text field
end mouseUp
|
|