I'm working on a PC with Android which is why I posted in Android but assume this applies to both iOS and Android.
I would simple like my users to be able to click a button called 'Import' and then select a text or csv file the app could then read in. I don't need to write out, just give the users an option to select a file and then read it in so I can process it.
Ask and Answer don't seem to do anything.
My code so far is
Code: Select all
on mouseup
put specialFolderPath("documents") & slash into tPath
set the defaultfolder to tPath
ask file "Select file to import..."
answer "Result" && it && the result
end mouseup