Code: Select all
on mouseUp
answer file "Choose your graphic"
put it into graphicChoice
set the itemdelimiter to slash
put item -1 of graphicChoice into editedGraphicName
set itemdelimiter to "."
delete item 2 of editedGraphicName
put editedGraphicName into field tmplFile
end mouseUp
That is also correct, but if the file is placed in af subfolder, I need to show that too, as follows
"subfolder/filename"
But how do I do that?