This is the code I put:
Code: Select all
on mouseUp
answer file "" with type ("text files|txt|tTXT" & return)
if the result = "cancel"
then exit mouseUp
else
put it into theFilePath
put URL ("file:" & theFilePath) into fld "word"
end if
end mouseUp
It becomes something like this: