You have to remove the SpecialFolderPath
you can only use specialfolderpath("one_of_the_following")
"home": The current user's home folder
"desktop": The current user's desktop folder
"preferences": The current user's preferences folder
"documents": The current user's documents folder
"support": The current user's application-specific data folder
"system": The System Folder (usually /System)
"fonts": The folder that contains fonts
"temporary": The folder where temporary files can be placed
"engine": The folder containing the OpenXTalk engine and the executable files copied in the standalone application
"resources"
Something like:
Code: Select all
on mouseUp
set the itemDelimiter to TAB
put specialFolderPath("home") into tMyHomeFolder
answer file "Choose a text .tsv spreadsheet file:" with (tMyHomeFolder & "/LiveCode/LiveCode Community 9.6.3.app/Contents/Tools/Toolset/resources/supporting_files/property_definitions/" ) with type "Text TSV|tsv|"
if it = empty then exit to top
set the text of fld "fGUFF" to URL ("file:" & it)
end mouseUp