Search found 780 matches

by Thierry
Thu Dec 03, 2020 11:06 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: How to populate an array from a csv list?
Replies: 4
Views: 122

Re: How to populate an array from a csv list?

I would like to create an array from a text list with several lines oft text items ... Hi Francesco, Hope you'll find these posts useful: https://forums.livecode.com/viewtopic.php?f=7&t=32020#p175195 http://forums.livecode.com/viewtopic.php?f=6&t=29798&p=158579&hilit=combine#p158579 Kind regards, T...
by Thierry
Sat Nov 07, 2020 9:05 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: swipe left, swipe right
Replies: 16
Views: 1254

Re: swipe left, swipe right

Finally, last point about this, unless the numbers form a meaningful sequence, I am not going to use numbers any more than I would use numbers to name variables. They have no intrinsic meaning so are very hard to recall. Hi Mark, I'm sharing your thoughts on this too, and avoid numbers as much as I...
by Thierry
Fri Nov 06, 2020 8:01 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: swipe left, swipe right
Replies: 16
Views: 1254

Re: swipe left, swipe right

If I say "put the short name of the current card" it responds "the first card". If I say "put the name of the current card" it responds "the first card". ???? Good morning Sir, Here is what I would expect: put the short name of the current card --> "the first card" put the name of the current card ...
by Thierry
Thu Nov 05, 2020 6:46 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: swipe left, swipe right
Replies: 16
Views: 1254

Re: swipe left, swipe right

So how come this swiping action does not "stop" on the first and last cards like I think it should? I am sure there is a simple answer for this. I've just been staring at it too long. Hi Mark, I vote for you staring at it too long :wink: replace if the name of the current card .... with if the shor...
by Thierry
Wed Oct 14, 2020 5:44 pm
Forum: Internet
Topic: Calling JS in a browser object from LC?
Replies: 6
Views: 814

Re: Calling JS in a browser object from LC?

thatkeith wrote:
Wed Oct 14, 2020 4:00 pm
Hi Thierry,
Have I missed something basic here? It would be far from the first time. :D
I know this feeling as well :)

Here is a small stack as a demonstration...
All the code is in the card script.

HTH,

Thierry
by Thierry
Wed Oct 14, 2020 3:49 pm
Forum: Internet
Topic: Calling JS in a browser object from LC?
Replies: 6
Views: 814

Re: Calling JS in a browser object from LC?

thatkeith wrote:
Wed Oct 14, 2020 3:26 pm
I would be delighted. :)

Hi Keith,

Are you aware of this command: javascriptHandlers

Please, check in the dictionary.

HTH,

Thierry
by Thierry
Tue Oct 06, 2020 4:58 pm
Forum: Talking LiveCode
Topic: How many rocks in Scotland?
Replies: 19
Views: 1628

Re: How many rocks in Scotland?

On my mac the stack takes 27.5 minutes to run Hi Simon, A very quick answer... Running your stack without any changes: 33 minutes on my mini-mac2 and find 149 records too. Now, rethinking the logic and rewriting from scratch: 18 seconds and still find 149 records. scotland sea-rock-149 matchs.jpg ....
by Thierry
Fri Oct 02, 2020 1:28 pm
Forum: Android Deployment
Topic: libUrlMultipartFormData on android error
Replies: 8
Views: 930

Re: libUrlMultipartFormData on android error

take a look at the resulting FORM in the IDE, should be not to hard to "rebuild" that one, How do I build a similar function? I tried to replace the parts with the binfile that doesn't work but it still doesn't work. Hi, following Klaus idea.... 1) get this interesting stack from minu: https://foru...
by Thierry
Thu Oct 01, 2020 10:27 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Escape Clauses
Replies: 6
Views: 575

Re: Escape Clauses

.... is my attempt to escape a set of parentheses. Obviously, it didn't work. Any way to escape a set of () in field data like: teamname = CHICAGO GRAY SOX (IL) Hi Lonnie, I did try your script without any changes and it works well here. Don't really understand what is not working. Maybe because of...
by Thierry
Wed Sep 30, 2020 8:51 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: [SOLVED] I need to split up a line into an array. Got all but the last part - any help?
Replies: 15
Views: 1283

Re: I need to split up a line into an array. Got all but the last part - any help?

Thanks Thierry, that’s much more elegant! always find your examples extremely helpful and informative! Thank you Stam for your words. I keep posting about regex in these forums because of few people like you. Kind regards, Thierry PS: here is a little stack with axwald and regex solutions which bot...
by Thierry
Tue Sep 29, 2020 11:09 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: [SOLVED] I need to split up a line into an array. Got all but the last part - any help?
Replies: 15
Views: 1283

Re: I need to split up a line into an array. Got all but the last part - any help?

.... i would have done this by matching regex: Hi stam, Nice to see another regex-livecoder :) Here is my solution made in less than 3 minutes: on regexSolution local rex = "(?ms)^Frame 1: (.*?)\n\n(0000 .*?)(?=\n\n\+\-)" if matchText( fld "Text_IN", rex, frame1Data, hexData) then put frame1Data in...
by Thierry
Tue Sep 22, 2020 9:21 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Skin a control with SVG Widget in Datagrid
Replies: 37
Views: 2700

Re: Skin a control with SVG Widget in Datagrid

Hi Thierry, yes, that was it, but also wishful thinking of me :-), since drawingSvgCompile(an SVG FILE) requires an external SVG FILE! Mmmm, I copy-paste this line from a previous job, and in this case: ... drawingSvgCompile( textSvg) textSvg is a variable, not a filename. Sorry, don't have much ti...
by Thierry
Tue Sep 22, 2020 8:47 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Skin a control with SVG Widget in Datagrid
Replies: 37
Views: 2700

Re: Skin a control with SVG Widget in Datagrid

Klaus wrote:
Mon Sep 21, 2020 8:53 pm
No, no screenshot, it was something else.
This ?

Code: Select all

   set the text of image "svgImage" to drawingSvgCompile( textSvg)
by Thierry
Wed Sep 02, 2020 5:06 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Can the void space within a group be made "Clickable"?
Replies: 26
Views: 1881

Re: Can the void space within a group be made "Clickable"?

KimD wrote:
Wed Sep 02, 2020 4:01 am
I realise that I could solve this by creating an object within the group,
and always resizing that object to have the same size as the group.
Hi Kim,

AFAIK, this is the only way to do it...

till someone is coming with another solution :)

Regards,

Thierry
by Thierry
Tue Sep 01, 2020 5:27 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Removing extra spaces and or hyphens
Replies: 8
Views: 730

Re: Removing extra spaces and or hyphens

dunbarx wrote: By the way, I always trust Thierry's regex expertise.
Thank you!
dunbarx wrote: I just rarely understand it.
So do I :)

Thierry

Go to advanced search