Search found 926 matches

by bangkok
Mon Feb 06, 2023 3:21 am
Forum: Internet
Topic: Browser widget : data mining on new sites ?
Replies: 9
Views: 5692

Re: Browser widget : data mining on new sites ?

jacque wrote:
Thu Feb 02, 2023 7:51 pm
This converts html to text (pseudo code):

Code: Select all

Set the htmltext of the templateField to the htmltext of the widget. 
Get the text of the templateField. 
It won't always be perfect because LC fields don't support many browser tags.
Thanks Jacques for this method.
by bangkok
Thu Feb 02, 2023 7:49 am
Forum: Internet
Topic: Browser widget : data mining on new sites ?
Replies: 9
Views: 5692

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 good en...
by bangkok
Thu Feb 02, 2023 2:53 am
Forum: Internet
Topic: Browser widget : data mining on new sites ?
Replies: 9
Views: 5692

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 you hav...
by bangkok
Wed Feb 01, 2023 6:57 am
Forum: Internet
Topic: Browser widget : data mining on new sites ?
Replies: 9
Views: 5692

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 browser...
by bangkok
Sun Feb 20, 2022 9:42 am
Forum: Android Deployment
Topic: Reading qr codes in Livecode with ZXing [Solved]
Replies: 7
Views: 7690

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 ? [OOPS] m...
by bangkok
Tue Apr 13, 2021 5:14 am
Forum: CGIs and the Server
Topic: LC server, tsNetSmtpSync, mimeEncode and ignorance
Replies: 2
Views: 4981

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 : tsNetInit ...
by bangkok
Mon Mar 22, 2021 3:02 am
Forum: Android Deployment
Topic: Android: reading keyboard leftovers
Replies: 6
Views: 3901

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.
by bangkok
Sun Mar 21, 2021 2:22 am
Forum: Android Deployment
Topic: Android: reading keyboard leftovers
Replies: 6
Views: 3901

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 sol...
by bangkok
Fri Jan 08, 2021 8:20 am
Forum: Android Deployment
Topic: Android: reading keyboard leftovers
Replies: 6
Views: 3901

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 keyboard...
by bangkok
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: 6534

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 empty re...
by bangkok
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: 6534

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 But you're still no...
by bangkok
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: 6534

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.
by bangkok
Wed Oct 07, 2020 12:06 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Substacks on top
Replies: 9
Views: 5175

Re: Substacks on top

you should try "as modal"

Code: Select all

go stack "myStack" as modal

http://lessons.livecode.com/m/4071/l/11 ... dal-dialog

Go to advanced search