That's my problem:
have a button to choose a file, into the mouseUp event I have this
Code: Select all
on mouseUp
put specialFolderPath("Documents") into tFilePath
answer file "Please choose a file"
if the result is not "cancel" then
put it into tFilename
put url ("file:" & tFilename) into field "text"
end if
end mouseUp
what's wrong?
thanks for your attention
franco