Search found 617 matches

by Thierry
Tue Apr 09, 2019 5:54 pm
Forum: Talking LiveCode
Topic: textEncode and Google Forms
Replies: 23
Views: 553

Re: textEncode and Google Forms

Did someone call? I don't know that I am qualified to assume the go-to mantle here, but AFAIK: Hi Sparkout, Everyone is the hero of someone or about something... :D Thanks for your comment, makes sense. Interesting, when I started working on Simon's problem, the google answer had wrong characters f...
by Thierry
Tue Apr 09, 2019 4:30 pm
Forum: Talking LiveCode
Topic: textEncode and Google Forms
Replies: 23
Views: 553

Re: textEncode and Google Forms

get IT & "Accept-Language: fr-FR" & CRLF get IT & "Content-Language: fr-FR" & CRLF Simon, I've played a bit with my code and it still works getting rid of these 2 lines of script but keeping the Content-type settings. Otherwise, I wouldn't follow you on the generic form. I believe it's more complic...
by Thierry
Tue Apr 09, 2019 11:44 am
Forum: Talking LiveCode
Topic: textEncode and Google Forms
Replies: 23
Views: 553

Re: textEncode and Google Forms

Thierry, it works! Well done, I'd have never done it myself. Thanks god french and portuguese characters are alike... Yes, we are all from the same root :roll: I believe this will work with any language.... till someone pops up some errors. Many thanks and I'm pretty sure your code will help others...
by Thierry
Tue Apr 09, 2019 10:34 am
Forum: Talking LiveCode
Topic: textEncode and Google Forms
Replies: 23
Views: 553

Re: textEncode and Google Forms

Hi Simon, Out of curiosity, as I do know nothing about google spreadsheets, I gave a try and here is working solution with French characters. Screenshot of your google spreadsheet: sunnY- 2019-04-09 à 11.20.54.png and the code: on mouseUp put "......" into myKey put "https://docs.google.com/forms/d/...
by Thierry
Mon Apr 08, 2019 2:12 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: How to force a handler to finish it's job before proceeding with something else
Replies: 17
Views: 559

Re: How to force a handler to finish it's job before proceeding with something else

I thought that this send only worked at functions.
Certainly not true. I do that very often.
by Thierry
Mon Apr 08, 2019 1:57 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: How to force a handler to finish it's job before proceeding with something else
Replies: 17
Views: 559

Re: How to force a handler to finish it's job before proceeding with something else

on preOpenstack if blablabla does not exist then downloadstuff end if (you get the idea) anotherhandler got to card"nowme" end preOpenstack Any usefull tip about how to do this? Hi sphere, a bit shooting in the dark, but you could try this: on preOpenstack send "preOpenStack_2" to me in 1 tick end ...
by Thierry
Thu Apr 04, 2019 2:54 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Trying to understand arrays
Replies: 10
Views: 414

Re: Trying to understand arrays

And how can I get the output "orange" from array food? Thanks!
try this:

Code: Select all

put food[1][2]
and then listen to bogs advice... :roll:

Good luck,

Thierry
by Thierry
Fri Mar 29, 2019 7:18 am
Forum: Announcements
Topic: [ANN] bnGuides alignment tool on livecodeshare
Replies: 11
Views: 749

Re: [ANN] bnGuides alignment tool on livecodeshare

Hallo Bernd,


Was waiting for this kind of tool since such a long time....

sunnY- 2019-03-29 à 07.14.07.png

Congrats for this brilliant tool and thanks for my kids :)

mit freundlichen Grüßen,

Thierry
by Thierry
Mon Mar 25, 2019 12:33 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Cannot make stand alone with Xcode 10.1, sdk 12.1
Replies: 3
Views: 301

Re: Cannot make stand alone with Xcode 10.1, sdk 12.1

So which version of Livecode should I be using? The best way to answer this question is to have a look at the releases notes. You can find them there: https://downloads.livecode.com/livecode/ Here is the iOS section of the release notes for the latest stable version of LC: iOS deployment is possibl...
by Thierry
Mon Mar 25, 2019 10:49 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Refering to INKs by using numbers?
Replies: 7
Views: 334

Re: Refering to INKs by using numbers?

A number might be better if one wanted to cycle through all the modes
automatically.
you could put all the modes in an array and cycle through the array...

Regards,

Thierry
by Thierry
Sun Mar 24, 2019 1:17 pm
Forum: Talking LiveCode
Topic: Find offset of first and last char of Word x in a field
Replies: 8
Views: 368

Re: Find offset of first and last char of Word x in a field

Hi Kaveh, As you are a fan of regex, here is my take on this: function forKaveh T local Rslt local Rx = "(?msx) (?:\w+?\s){4} (\w+) " get matchChunk( T, Rx, p0, p1) put "Indexes: " & p0 & " - " & p1 & cr into Rslt // only for testing: put char p0 to p1 of T after Rslt return Rslt end forKaveh and to...
by Thierry
Wed Mar 20, 2019 2:40 pm
Forum: Talking LiveCode
Topic: Regex: Matching an empty character
Replies: 11
Views: 382

Re: Regex: Matching an empty character

kaveh1000 wrote:
Wed Mar 20, 2019 2:19 pm
Great. Thank you. That is the answer I was looking for.
Great.

Enjoy your day,

Thierry
by Thierry
Wed Mar 20, 2019 1:55 pm
Forum: Talking LiveCode
Topic: Regex: Matching an empty character
Replies: 11
Views: 382

Re: Regex: Matching an empty character

Keenly look forward to the explanation, Thierry :-) I am using very latest BBEdit (12.6.1) Very quick but accurate answer: Bbedit is using: PCRE2 Library version 10.33-RC1 2018-09-14 Livecode is using: PCRE Library version 9.3 ( from memory) This makes all the differences. You can read the diffs do...
by Thierry
Wed Mar 20, 2019 1:08 pm
Forum: Talking LiveCode
Topic: Regex: Matching an empty character
Replies: 11
Views: 382

Re: Regex: Matching an empty character

Hi Thierry Thanks for you time as ever. Does your solution require purchasing your software that does back-referencing? ;-) yes, sure :) In fact, I'm shamelessly promoting my own development... :roll: The search string works in BBEdit, using the search string and replacing all with space. Ok, I'll ...
by Thierry
Wed Mar 20, 2019 12:03 pm
Forum: Talking LiveCode
Topic: Regex: Matching an empty character
Replies: 11
Views: 382

Re: Regex: Matching an empty character

Probably a question for Thierry. ;-) At your service, Sir 8) put replacetext( \ tGname, \ "((?<=[A-Z])(?=[A-Z]))", \ " ") \ into tGname Hi Kaveh, This will be my way to do it: put "([A-Z])(?=[A-Z])" into Rx if sunnyreplace( "aABCdeFGZ.", Rx, "\1 ", R ) then put R --> aA B CdeF G Z. This works in ot...

Go to advanced search