As discussed in yesterday's webinar here is the code for getting a file from an answer dialog
Code: Select all
on mouseUp
answer file "Choose a file to upload"
if the result is "cancel" then
put empty into field "fileField"
else
put it into field "fileField"
end if
end mouseUp
Elanor