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
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
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
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
"
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
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
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
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