Re: Write to file at end

2017-01-19 Thread Thierry Douez via use-livecode
2017-01-19 18:53 GMT+01:00 Bob Sneidar via use-livecode < use-livecode@lists.runrev.com>: > Hi all. > > Given code snippet: > > open file "Forms Generator 8 Crash Log.txt" for write > ​ open file "Forms Generator 8 Crash Log.txt" for ​append HTH Thierry​

Re: Where did the cErrorsList go?

2017-02-27 Thread Thierry Douez via use-livecode
Hi Ben, try this: the scriptExecutionErrors HTH, Thierry 2017-02-27 17:11 GMT+01:00 Ben Rubinstein via use-livecode < use-livecode@lists.runrev.com>: > For years I've been accustomed to interpreting the error reported in a > 'catch' statement using > > put line xx of the cErrorsList of

Re: [ANN] tinyDictionary

2017-03-22 Thread Thierry Douez via use-livecode
Hallo Bernd, Great job, as usual ! Kind regards, Thierry 2017-03-22 15:37 GMT+01:00 BNig via use-livecode < use-livecode@lists.runrev.com>: > I uploaded a compact version of the dictionaries for LC 8.1 and up to > Livecodeshare > >

Re: Recording audio with LC on OSX?

2017-04-07 Thread Thierry Douez via use-livecode
> Is there a way to "cancel" a shell command that is still running in LC? > ​ Hi Greg, You can do it via another shell() call with the kill command. Of course, you need the ID of the process you did started before. Regards, Thierry --

Howto read-write-import-export SAP tables

2017-03-02 Thread Thierry Douez via use-livecode
Hi, Is there some ways to interact with SAP databases (windows)? I need to: import / export datas to / from SAP modules read / write datas. My knowledge in this area is close to zero, so any hints or links are very much welcomed. Kind regards, Thierry --

Re: Parsing (scraping) OpenGraph Tags from html HEAD

2017-07-31 Thread Thierry Douez via use-livecode
2017-07-29 22:16 GMT+02:00 Sannyasin Brahmanathaswami ​ : > you want to extract from the of the document the openGraph tags > > > https://www.youtube. > com/user/kauaiaadheenam"> > > https://yt3.ggpht. > com/-p766LczvKHY/AAI/AAA/SIu6ZAJbMDc/s900- >

Re: Parsing (scraping) OpenGraph Tags from html HEAD

2017-08-02 Thread Thierry Douez via use-livecode
2017-08-02 6:45 GMT+02:00 Sannyasin Brahmanathaswami: ​Hi Brahmanathaswami, ​ Thanks Thierry > > though I'm yet sure when using regEx this is better than using Jacque's > method > ​That's 2 different ways.. but with the regex one, you have the exact key and value of each tags, nothing more to

Re: Taking quotes on building LC external for RethinkDB

2017-08-04 Thread Thierry Douez via use-livecode
2017-08-03 17:00 GMT+02:00 Bob Sneidar: I poked around on their web site. What is the advantage of this db over other SQL db's? Price? Speed? Ease of > config? > > ​Hi Bob, Here is 1 minute of rethinkDB​... https://www.youtube.com/watch?v=qKPKsBNw604 Regards, Thierry > > On Aug 2,

Re: common code patterns

2017-08-11 Thread Thierry Douez via use-livecode
2017-08-11 9:07 GMT+02:00 J. Landman Gay: On 8/10/17 7:42 PM, Monte Goulding: > > Over on the Parent of Target thread we are discussing local var access so >> I wonder if this is a useful common pattern: >> >> local s >> >> command set p >> put p into s >> end set >> >> function get >>

Re: Find some text characters

2017-07-17 Thread Thierry Douez via use-livecode
2017-07-18 6:31 GMT+02:00 Peter Bogdanoff via use-livecode < use-livecode@lists.runrev.com>: > Thierry, I ended up using your first Regex example—works great! > > It is very good to know about \p{} matches—everything from Arabic to Yi. That may come in handy later. > > Thanks, > > Peter > >

Re: Find some text characters

2017-07-17 Thread Thierry Douez via use-livecode
2017-07-18 3:53 GMT+02:00 Thierry Douez : > >> I want to know if this data contains Chinese characters >> >> Thanks for suggestions! >> >> Peter Bogdanoff >> >> > ​Hi Peter, > ​Ok, back after my second morning coffee :) A better way to check for Chinese code points would be

Re: Find some text characters

2017-07-17 Thread Thierry Douez via use-livecode
2017-07-17 23:40 GMT+02:00 Peter Bogdanoff via use-livecode < use-livecode@lists.runrev.com>: > Is there a easy way to do this?: > > Given this htmlText that may contain Chinese characters and/or some > horizontal tabs— > > > > I want to know if this data contains Chinese characters, that is an

Re: Advice on copying and pasting in mobile

2017-07-03 Thread Thierry Douez via use-livecode
2017-07-02 14:54 GMT+02:00 Jonathan Lynch ​ : Hello, > > I really need to be able to paste text in an LC field on mobile. > > I can do it for iOS with the sunny text to speech external, ​Great! ​ > but that external has an audio message that comes on when the app first > opens > ​... >

Re: Crashing when I try to make a Mac standalone

2017-07-06 Thread Thierry Douez via use-livecode
2017-07-06 8:54 GMT+02:00 Jonathan Lynch: > Following up - it seems to create the standalone and then crash. > Sent from my iPhone > > > On Jul 6, 2017, at 2:46 AM, jonathandly...@gmail.com wrote: > > > > When I try to make a standalone for Mac in version 8.1.5 RC 2 > it crashes at the moment

Re: How do we access the clipboard on mobile devices?

2017-06-28 Thread Thierry Douez via use-livecode
J. Landman Gay ​: ​ They can paste text normally if you use a native field. The only > restriction is that LC can't manage the clipboard through script alone. But > if you create a mobile field the OS handles it as expected. > > In other words, copy and paste is currently limited to manual user

Re: Parsing (scraping) OpenGraph Tags from html HEAD

2017-08-02 Thread Thierry Douez via use-livecode
media on our web site (eventually) and our > apps will need to parse that out in various contexts. > > BR > > > > > > On 8/1/17, 10:07 PM, "use-livecode on behalf of Thierry Douez via > use-livecode" <use-livecode-boun...@lists.runrev.com on behalf of

Re: filter? replace? wildcard? reg exp? help please!

2017-05-12 Thread Thierry Douez via use-livecode
​Hi, > > function removeBrackets pString > return replacetext(pString,"\[.*\]",empty) > end removeBrackets > > ​​ What would be the result of next line:? *put* removeBrackets ​( ​ "1 [A] 2 [B] 3." ​) Kind regards, Thierry ​ Thierry Douez

Re: filter? replace? wildcard? reg exp? help please!

2017-05-12 Thread Thierry Douez via use-livecode
> > >> >> >>> function removeBrackets pString >>> return replacetext(pString,"\[.*\]",empty) >>> end removeBrackets >>> >> ​​ >> >> What would be the result of next line:? >> >> *put* removeBrackets >> ​( ​ >> "1 [A] 2 [B] 3." >> ​) >> > > An error. I did warn about my limited regex skills. :)

Re: Sort so that "Hello" is always before "hello"

2017-05-19 Thread Thierry Douez via use-livecode
A slight variation from Hermann's code, working *only* with ASCII: sort lines of T numeric by AaZz_sort( each) function AaZz_sort x get chartonum( char 1 of x) if IT > 96 then return ( IT - 96) * 2 + 1 else return ( IT - 64) * 2 end AaZz_sort I can explain if someone is asking

Re: filter? replace? wildcard? reg exp? help please!

2017-05-19 Thread Thierry Douez via use-livecode
> > >> put "1 [A] 2 [B] 3." into tText >> put removeBrackets( tText) >> > > I see that the middle section is omitted with my regex, so I forgot to > make it non-greedy. But I've forgotten how to do that, something about a > question mark, I think? ​Sorry about the delay, we had a thunderstorm

Re: Sort so that "Hello" is always before "hello"

2017-05-19 Thread Thierry Douez via use-livecode
2017-05-19 15:44 GMT+02:00 hh ​: > Thierry wrote: > > sort lines of T numeric by AaZz_sort( each) > > function AaZz_sort x > >get chartonum( char 1 of x) > >if IT > 96 then return ( IT - 96) * 2 + 1 > >else return ( IT - 64) * 2 > > end AaZz_sort > > > Hi Thierry, > > don't you need a

Re: filter? replace? wildcard? reg exp? help please!

2017-05-19 Thread Thierry Douez via use-livecode
​ Is there life without internet for one week? - lucky you are connected to the world again! > Tiemo > ​Hallo Tiemo, Except some hurdles with the administration ( sold my old car and bought a new one) plus being insulted by a couple of stressed and egotist people for not answering sooner, I

Re: Sort so that "Hello" is always before "hello"

2017-05-19 Thread Thierry Douez via use-livecode
​Hallo Hermann, ​ > >> sort lines of T numeric by each & AaZz_sort( each) ? >> sort lines of T >> >> Else the container is sorted by the first char of each line only. >> > > ​Ok, I can't find a way to do it with a single sort. Therefore your solution 1st or mine adding a second sort after it.

Re: Regex help...

2017-06-05 Thread Thierry Douez via use-livecode
t wasn't in full gear. > > -- Paul > > > On 6/5/2017 4:06 AM, Thierry Douez via use-livecode wrote: > > Hi Paul, > > > > > > AFAIK you need to deal with an hybrid approach (regex + livecode) > > > > So, here is one way to do it: >

Re: Regex help...

2017-06-05 Thread Thierry Douez via use-livecode
Hi Paul, AFAIK you need to deal with an hybrid approach (regex + livecode) So, here is one way to do it: put 3 into pPage repeat for each line T in tCiCData if matchText( T, "(?x) \t (\d+) , \d+ , (\d+) , \d+ \z", n1, n2) then if (n1 <= pPage) and (n2 >= pPage) then

Re: [tsNet] tsNetSmtpSync

2017-09-15 Thread Thierry Douez via use-livecode
2017-09-15 11:19 GMT+02:00 Charles Warwick : > Hi Theirry, > > On 15/09/2017 7:08 PM, Thierry Douez wrote: > >> ​I guess both methods are safe? >> or is there some advantages with one or the other? >> >> I'm using it within a Livecode Mail Composer. >> Based on an export of my server DB, I'm

Re: [tsNet] tsNetSmtpSync

2017-09-15 Thread Thierry Douez via use-livecode
2017-09-15 10:57 GMT+02:00 Charles Warwick Hi Thierry, > > On 15/09/2017 6:31 PM, Thierry Douez: > >> Hi all, >> >> I've worked hard with tsNetSmtpSync() these last days, >> on macOS Sierra with the latest LC 8.1.6 >> and have 2 questions which bothers me: >> >> - from time to time (no recipe

Re: [tsNet] tsNetSmtpSync

2017-09-15 Thread Thierry Douez via use-livecode
typed silly character in these datas before posting :) Your email scarred me first so I forgot I did this :) Anyway, thanks again as I'm not familiar with this protocol. Regards, Thierry > > > On Sep 15, 2017, at 08:05 , Thierry Douez via use-livecode < > use-livecode@lists.runrev.com&

Re: [tsNet] tsNetSmtpSync

2017-09-15 Thread Thierry Douez via use-livecode
2017-09-15 16:40 GMT+02:00 Bob Sneidar via use-livecode < use-livecode@lists.runrev.com>: > BTW you should mask the 334 entries as these are only base64 encoded user > and password. I could look it up and tell you what they are right now. > > Bob S ​Oops, thanks​. Did change everything on the

Re: [tsNet] tsNetSmtpSync

2017-09-15 Thread Thierry Douez via use-livecode
2017-09-15 17:35 GMT+02:00 Thierry Douez : > > > 2017-09-15 17:29 GMT+02:00 Bob Sneidar : > >> Spoke too soon those are the actual WORDS username and password, base64 >> encoded, but some of the chars are not plain ascii not sure why. >> >> Bob S >> > > ​:) > ​Ok, I've done a

[tsNet] tsNetSmtpSync

2017-09-15 Thread Thierry Douez via use-livecode
Hi all, I've worked hard with tsNetSmtpSync() these last days, on macOS Sierra with the latest LC 8.1.6 and have 2 questions which bothers me: - from time to time (no recipe yet), I've got an error when executing it. Executing it again (same code and context) and all is fine then. - about the

Re: OT: recommendations for Installer Maker

2017-09-20 Thread Thierry Douez via use-livecode
Hallo Tiemo, I believe Mark has a good time on the beach :) If I remember well, he said few days ago that his company will be closed for holidays. Kind regards, Thierry 2017-09-20 9:22 GMT+02:00 Tiemo Hollmann TB ​ : > Hello, > > I am using Installer Maker, version 1.8.7 from Mark S. on

Re: [tsNet] tsNetSmtpSync

2017-09-17 Thread Thierry Douez via use-livecode
2017-09-15 10:57 GMT+02:00 Charles Warwick ​ : Hi Thierry, > > On 15/09/2017 6:31 PM, Thierry Douez: > >> Hi all, >> >> I've worked hard with tsNetSmtpSync() these last days, >> on macOS Sierra with the latest LC 8.1.6 >> and have 2 questions which bothers me: >> >> - from time to time (no recipe

Re: [OT] Alternative to Inkscape

2017-10-05 Thread Thierry Douez via use-livecode
2017-10-05 1:44 GMT+02:00 Alejandro Tejada ​: I use Xara since many, many years ago. Their technical support is excellent > and rarely (if ever) I had a problem with their application > except a rare bug that I found, reported and they fixed. > ​Since a couple of years, I have a graphic designer

Re: Livecode docset for Dash

2017-09-12 Thread Thierry Douez via use-livecode
Hi James, To express my appreciation of your astonishing tool and work, I'm offering you a free license of sunnYrex ! I'll send it to you on your private email. Hope you'll like it. Kind regards, Thierry 2017-09-12 10:37 GMT+02:00 James Hale via

Re: Missing things in the holidays

2017-09-02 Thread Thierry Douez via use-livecode
Here is the reason: > On Aug 31, 2017, at 3:42 AM, panagiotis merakos via use-livecode < use-livecode@lists.runrev.com> wrote: > > Hi all, > > Since the week beginning 21st August 2017, LiveCode iOS apps are being > rejected by iTunes Connect due to 'invalid binary'. It turns out that Apple >

Re: Replacetext taking forever under 8.1.7

2017-11-28 Thread Thierry Douez via use-livecode
2017-11-23 21:27 GMT+01:00 Bruce Pokras via use-livecode < use-livecode@lists.runrev.com>: > > put replacetext(holdIt1,"[ ]{2,10}",empty) into holdIt > > Under 8.1.7 I get the dreaded spinning beachball, although the replacetext > action eventually finishes (after 20 minutes), and the script then

Re: sysError values...

2019-01-30 Thread Thierry Douez via use-livecode
Here is another place for MacOS system errors: https://www.macheat.com/general-error-codes-for-os-x most probably doesn't list all errors... Thierry Douez sunny-tdz.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url

Re: numberformat woes?

2019-11-07 Thread Thierry Douez via use-livecode
Hallo Klaus, Umm, thinking loudly, I would say numberformat has a local scope ... Regards, Thierry What am I missing? > > Klaus -- Thierry Douez - sunny-tdz.com ___ use-livecode mailing list

Re: Groups placed on cards

2020-04-25 Thread Thierry Douez via use-livecode
> Le 25 avr. 2020 à 02:22, Peter Bogdanoff a écrit : > > In testing with a new stack, I see that what I am asking for actually does > happen. > The various placements of the group do have the same ID and configuration. > So, I’ll work with my stack to make it happen that way. Hi Peter,

Re: Wildcard? replaceText, offset?

2020-04-27 Thread Thierry Douez via use-livecode
> Le 27 avr. 2020 à 08:37, J. Landman Gay via use-livecode > a écrit : > > On 4/26/20 1:24 PM, Rick Harrison via use-livecode wrote: >> In the middle-end part of the string I have “(x)” where x represents some >> integer. >> it could be (4) or (10) or (5) etc. >> I just want to replace the

Re: SSL cPanel mySql setup

2020-10-19 Thread Thierry Douez via use-livecode
> Le 19 oct. 2020 à 08:45, Dev via use-livecode > a écrit : > > Since I have been on DreamHost for more than a decade, I would love to have > something like this set up. I’m not too proficient with Terminal or Linux, > but can follow instructions. I would love to know if there is a crib