Thanks Jacques for this method.jacque wrote: Thu Feb 02, 2023 7:51 pm This converts html to text (pseudo code):It won't always be perfect because LC fields don't support many browser tags.Code: Select all
Set the htmltext of the templateField to the htmltext of the widget. Get the text of the templateField.
Search found 911 matches
- Mon Feb 06, 2023 3:21 am
- Forum: Internet
- Topic: Browser widget : data mining on new sites ?
- Replies: 9
- Views: 50058
Re: Browser widget : data mining on new sites ?
- Thu Feb 02, 2023 7:49 am
- Forum: Internet
- Topic: Browser widget : data mining on new sites ?
- Replies: 9
- Views: 50058
Re: Browser widget : data mining on new sites ?
Bangkok, unless you are expert with JavaScript you will not want to go this route. And even if you were, you would probably still not want to go this route. :)
Fair enough. ;-)
Perhaps the solution is to ask for an improvement of the browser widget ? A new property (text) if htmltext is not ...
- Thu Feb 02, 2023 2:53 am
- Forum: Internet
- Topic: Browser widget : data mining on new sites ?
- Replies: 9
- Views: 50058
Re: Browser widget : data mining on new sites ?
Hello, you know how to use do "as script" in widget "Browser"?
You have to use javascript commands to get the text you want because the text is loaded by javascript and not with the initial html.
put the htmltext of widget "Browser" does not help.
Ah non, i do not. It sounds interesting.
Do ...
- Wed Feb 01, 2023 6:57 am
- Forum: Internet
- Topic: Browser widget : data mining on new sites ?
- Replies: 9
- Views: 50058
Browser widget : data mining on new sites ?
More and more websites use special javascript/dynamic content, in order (i guess) to prevent data mining.
An example :
https://www.set.or.th/en/market/product/stock/quote/PTT/price
It's the new website of the thai stock market.
It's impossible anymore with LiveCode (with URL, htmltext or the ...
An example :
https://www.set.or.th/en/market/product/stock/quote/PTT/price
It's the new website of the thai stock market.
It's impossible anymore with LiveCode (with URL, htmltext or the ...
- Sun Feb 20, 2022 9:42 am
- Forum: Android Deployment
- Topic: Reading qr codes in Livecode with ZXing [Solved]
- Replies: 7
- Views: 17476
Re: Reading qr codes in Livecode with ZXing [Solved]
I've just tried the library.
Tested on LC 9.6.6 windows 10.
When saving the example stack as a standalone for Android, i received an error message in spanish (" Programas "). So i guess it's internal to the library (the author writing in spanish).
See picture attached.
Do you have an idea ...
Tested on LC 9.6.6 windows 10.
When saving the example stack as a standalone for Android, i received an error message in spanish (" Programas "). So i guess it's internal to the library (the author writing in spanish).
See picture attached.
Do you have an idea ...
- Tue Apr 13, 2021 5:14 am
- Forum: CGIs and the Server
- Topic: LC server, tsNetSmtpSync, mimeEncode and ignorance
- Replies: 2
- Views: 47733
Re: LC server, tsNetSmtpSync, mimeEncode and ignorance
I had the same question, with HostM (hosting company with LC Server).
Here is the answer, and it works flawlessly.
First you need to copy onto the server, the "mime.livecodescript" file, that you'll find in
/Extension/com.livecode.library.mime/ directory (on your PC)
Then in the lc file ...
Here is the answer, and it works flawlessly.
First you need to copy onto the server, the "mime.livecodescript" file, that you'll find in
/Extension/com.livecode.library.mime/ directory (on your PC)
Then in the lc file ...
- Mon Mar 22, 2021 3:02 am
- Forum: Android Deployment
- Topic: Android: reading keyboard leftovers
- Replies: 6
- Views: 10411
Re: Android: reading keyboard leftovers
This could be solved in the future... We need a command to hide the virtual keyboard.
It's a wish.

I know that keyDown doesn't work on Android.
But it might in the future.
It's a wish.
I know that keyDown doesn't work on Android.
But it might in the future.
- Sun Mar 21, 2021 2:22 am
- Forum: Android Deployment
- Topic: Android: reading keyboard leftovers
- Replies: 6
- Views: 10411
Re: Android: reading keyboard leftovers
Hélas, no. I haven't found a way to bypass the logic :
-in order to catch the data sent by the barcode reader the field must have the focus
-and the focus displays the virtual keyboard. Always !
This could be solved in the future... We need a command to hide the virtual keyboard.
That could be a ...
-in order to catch the data sent by the barcode reader the field must have the focus
-and the focus displays the virtual keyboard. Always !
This could be solved in the future... We need a command to hide the virtual keyboard.
That could be a ...
- Wed Mar 17, 2021 3:50 am
- Forum: Android Deployment
- Topic: Barcode scanner unable to locate play service dependency base version 9.4.0
- Replies: 3
- Views: 6712
- Mon Feb 22, 2021 4:31 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Data Grid Form Examples & Beginner Lab Tutorial
- Replies: 2
- Views: 8832
Re: Data Grid Form Examples & Beginner Lab Tutorial
You might find some good ideas there :
DG_EXAMPLES_1_5.zip
download/file.php?id=5272&sid=6f35df56a ... 28609dbab3
DG_EXAMPLES_1_5.zip
download/file.php?id=5272&sid=6f35df56a ... 28609dbab3
- Fri Jan 08, 2021 8:20 am
- Forum: Android Deployment
- Topic: Android: reading keyboard leftovers
- Replies: 6
- Views: 10411
Re: Android: reading keyboard leftovers
Hi all, I wonder if it would be possible to read Android's keyboard buffer in order to gain access to was entered by another App.
Just to make myself clear I may be facing the challenge to develop an Android App that would read a barcode scanner, according to the handheld vendor they use a ...
- Tue Nov 17, 2020 2:22 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Using a text field with date formated content in a WHERE clause of a SELECT statement
- Replies: 11
- Views: 15527
Re: Using a text field with date formated content in a WHERE clause of a SELECT statement
Hope this gives you what you need.
Actually... no.
Why do you have a Datagrid which is populated behind ? How do you get such a listing ?
I see that you have 2 columns : game date and game time.
Futhermore what means " doesn't work " ?
Do you receive an error message ? Or do you receive an ...
- Tue Nov 17, 2020 12:30 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Using a text field with date formated content in a WHERE clause of a SELECT statement
- Replies: 11
- Views: 15527
Re: Using a text field with date formated content in a WHERE clause of a SELECT statement
I hope this makes more sense.
No it doesn't.
;-)
Anyway, the error now is obvious
put "11/22/2020" into gtGameDayDate
You use gtGameDayDate in a SQL query.
It can't work.
SQL use YYYY-MM-DD format.
put "11/22/2020" into gtGameDayDate
should be
put "2020-11-22" into gtGameDayDate ...
- Sun Nov 15, 2020 1:49 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Using a text field with date formated content in a WHERE clause of a SELECT statement
- Replies: 11
- Views: 15527
Re: Using a text field with date formated content in a WHERE clause of a SELECT statement
Very confusing.
Thank you to give us the content of... tSQL
That's the only way to see the issue (in your code, we see nothing... for instance, what do you put into gtGameDayDate ?)
We need to see the SQL query, created by your code.
Thank you to give us the content of... tSQL
That's the only way to see the issue (in your code, we see nothing... for instance, what do you put into gtGameDayDate ?)
We need to see the SQL query, created by your code.
- Wed Oct 07, 2020 12:06 am
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: Substacks on top
- Replies: 9
- Views: 14112
Re: Substacks on top
you should try "as modal"
http://lessons.livecode.com/m/4071/l/11 ... dal-dialog
Code: Select all
go stack "myStack" as modalhttp://lessons.livecode.com/m/4071/l/11 ... dal-dialog