Reading a file from icloud on ipad

2019-05-20 Thread William Prothero via use-livecode
Folks: Is it possible to read a file from the iCloud drive, in iOS, using LC? I’m trying to read a csv file downloaded from my browser, into an application that will use that downloaded file. I can’t immediately see how to do this. If I use a browser widget, where will a downloaded file go? I c

Re: reading a file

2014-09-21 Thread Simon
Hi Larry, Even shorter on mouseUp answer file "Select a file." put url("file:" & it) into fld myOutput end mouseUp Of course that is only good for a text file. Simon -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/reading-a-fil

Re: reading a file

2014-09-21 Thread Alain Farmer
he quotes? Thank you again, Larry - Original Message - From: "Alain Farmer" To: "How to use LiveCode" Sent: Sunday, September 21, 2014 4:09 PM Subject: Re: reading a file > replace: > put quote & it & quote into thisFile > with > put it into thisFil

Re: reading a file

2014-09-21 Thread Scott Rossi
Larry -- have you tried: open file thisFile for read Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 9/21/14 3:02 PM, "la...@significantplanet.org" wrote: >Hello, > >Could anyone please explain why the following script does not work? >(It puts into the field the na

Re: reading a file

2014-09-21 Thread larry
" Sent: Sunday, September 21, 2014 4:09 PM Subject: Re: reading a file replace: put quote & it & quote into thisFile with put it into thisFile On Sunday, September 21, 2014 6:03 PM, "la...@significantplanet.org" wrote: Hello, Could anyone please explain why the following s

Re: reading a file

2014-09-21 Thread Mark Schonewille
Hi, There is no file quote & it & quote, but there is a file it. Quotes are used to define a string in a script. If you put quotes in a variable, they become part of that string. The following script will work: on mouseUp answer file "Select a file." put it into thisFile open file thisF

Re: reading a file

2014-09-21 Thread Alain Farmer
replace: put quote & it & quote into thisFile with put it into thisFile On Sunday, September 21, 2014 6:03 PM, "la...@significantplanet.org" wrote: Hello, Could anyone please explain why the following script does not work? (It puts into the field the name of the selected file and not the c

reading a file

2014-09-21 Thread larry
Hello, Could anyone please explain why the following script does not work? (It puts into the field the name of the selected file and not the contents of the file. on mouseUp answer file "Select a file." put quote & it & quote into thisFile open file thisFile read from file thisFile until EOF