I try to read a external "txt" file in IOS and put it in a field "read".
I can read the file path but not its contents.
In "Standalone application settings" I put the txt file (folder "documents") in the copy file menu :
And here is my script in a button :
Code: Select all
on mouseUp
set the defaultFolder to specialFolderPath("Documents")
put "file:" & SpecialFolderPath("engine") & french.txt into langFile
put url ("file:" & langFile) into field "read"
end mouseUp
Thanks in advance.
Boris