Hi Michael,
welcome to the forum!Best
Klaus
welcome to the forum!
CODE:
...answer “would you like to open a dictionary?” with “Yes” and “Cancel”if it is “Yes” then answer file “select a file” ## Always check: if it = "cancel" then exit to top end if ## The path to the file is now in the variable IT: ## And use it OUTSIDE of the quotes! put url("file:" & IT) into gDictionary ## Your variable theFilePath is EMPTY! ## See above: use IT! ## put URL “file: & theFilePath” into gDictionary split gDictionary by return and tab put gDictionary into fld “Keyword”## Not neccessary if there is no ELSE case!## elseend if...
Klaus
Statistics: Posted by Klaus — Thu Jul 25, 2024 8:54 am