Hello all
I have been doing a lot of experiments with the new WASM Web Engine recently. I found that reading a text file is not natively supported.
Here my attempt, to read a text file and put it into a field.
I hope this is useful for someone, or shows at least the some new web capabilities for those interested.
Cheers
Kangaroo
My attempt to read a text file on the web
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- VIP Livecode Opensource Backer
- Posts: 35
- Joined: Sat Jan 15, 2011 10:57 am
My attempt to read a text file on the web
- Attachments
-
- ReadTextFile.zip
- (5.12 KiB) Downloaded 202 times
Re: My attempt to read a text file on the web
Kangaroo:
I have played with all three of your contributions so far.
The ability to pass text files to and from LiveCode and Javascript is an important capability.
This ReadTextFile example is a great addition as is your SaveTextFile example.
I have examined and am impressed with your scripting in your WebScrollField example.
It is nice to see how you make the connections between LiveCode and JavaScript.
I'm not sure I fully understand what you have done but it all works!
Many thanks for sharing your efforts with the LC community on this forum.
Bob C
I have played with all three of your contributions so far.
The ability to pass text files to and from LiveCode and Javascript is an important capability.
This ReadTextFile example is a great addition as is your SaveTextFile example.
I have examined and am impressed with your scripting in your WebScrollField example.
It is nice to see how you make the connections between LiveCode and JavaScript.
I'm not sure I fully understand what you have done but it all works!
Many thanks for sharing your efforts with the LC community on this forum.
Bob C
-
- VIP Livecode Opensource Backer
- Posts: 35
- Joined: Sat Jan 15, 2011 10:57 am
Re: My attempt to read a text file on the web
Thank you for the compliments !
I like to share what I create - always hoping someone can improve it or just us it as it is.
I learned a lot from many people here , this is just my way of giving it back to the community.
Cheers
Kangaroo
I like to share what I create - always hoping someone can improve it or just us it as it is.
I learned a lot from many people here , this is just my way of giving it back to the community.
Cheers
Kangaroo