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 sheet or 
> step by step or tutorial that I could follow to get an instance running in my 
> space?
> 
> Thanks for any information that you can point me to.

Hi,

AxWald is talking about this topic here:

https://forums.livecode.com/viewtopic.php?f=15=34068 



and it just works!

Kind regards,

Thierry

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


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 number inside the () with whatever other number I 
>> need to.
> 


   local T = "a(1)(z)(345)xxx(567Z33)(666)"

   if  sunnYreplace( T, "\((\d+)\)",  "(42)",  Tr ) then   put Tr

   --> a(42)(z)(42)xxx(567Z33)(42)



Thanks to check https://sunny-tdz.com/livecode/sunnyrex 


Thierry

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


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,

This happened to me a couple of years ago which an old stack being updated to 
new LC format
I've lost all those standard group behaviour... I deleted them from all cards 
and redo.
Unfortunately, don't remember the full details.

Good luck,

Thierry


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


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
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


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 to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


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 runs to
> completion.
>
> Any ideas about causes and cures for this issue?
>

​Yes, I have one...​

​from memory:​

​the latest LC version which should work fine is 8.1.2 (stable)

this bug was introduced when upgrading the PCRE lib from 8.33 to 8.39

​
Of course, better to check if what I'm saying is right
as yesterday I was travelling all night :)


Kind regards,

Thierry



-- 

Thierry Douez - sunny-tdz.com
sunnYrex - sunnYtext2speech - sunnYperl - sunnYmidi - sunnYmage
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

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 who works with Xara
(Win10) and
I adapt his works with Affinity Designer (MacOS)​. We can exchange our SVG
jobs
quite easily, and for me, not being a graphic designer at all, I find this
process easy enough.

Regards,

Thierry

-- 

Thierry Douez - sunny-tdz.com
sunnYrex - sunnYtext2speech - sunnYperl - sunnYmidi - sunnYmage
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

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 Mac.

This version
> ​ ​
> is not LC 8 compatible.

I don't get any responses on requests anymore from
> him (perhaps it's only me?).

Does anybody is in contact with him or knows,
>


-- 

Thierry Douez - sunny-tdz.com
sunnYrex - sunnYtext2speech - sunnYperl - sunnYmidi - sunnYmage
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

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 yet), I've got an error when executing it.
>> Executing it again (same code and context) and all is fine then.
>>
>
> What is the error message that you get?
>
>

​Charles,
​

​Finally, after a couple of hundred  positive tests,
 the error came back:​

Error tsneterr: (56) SSLRead() return error -9806

​Sending  again the same mail a second later in same context works​.

Kind regards,

Thierry

-- 

Thierry Douez - sunny-tdz.com
sunnYrex - sunnYtext2speech - sunnYperl - sunnYmidi - sunnYmage
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

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 quick test with the right datas:

put base64De​code( "the334value")
and I can see the plain text username  and password,
nothing more.

So, I'm safe and breathing again :)


> Because​ I've 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
>

-- 

Thierry Douez - sunny-tdz.com
sunnYrex - sunnYtext2speech - sunnYperl - sunnYmidi - sunnYmage
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: [tsNet] tsNetSmtpSync

2017-09-15 Thread Thierry Douez via use-livecode
2017-09-15 17:29 GMT+02:00 Bob Sneidar via use-livecode <
use-livecode@lists.runrev.com>:

> 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
>

​:)

Because​ I've 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> wrote:
> >
> >> 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
>
-- 

Thierry Douez - sunny-tdz.com
sunnYrex - sunnYtext2speech - sunnYperl - sunnYmidi - sunnYmage
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

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 server !

Thanks again :)

Thierry



Thierry Douez - sunny-tdz.com
sunnYrex - sunnYtext2speech - sunnYperl - sunnYmidi - sunnYmage
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

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 scanning some address,
>> build dynamically the html-email and send one by one all emails.
>> ​
>>
>
> Both are safe.  Generally, if you are going to be making multiple
> connections to the same server (in this case, sending a number of e-mails)
> fairly quickly, then allowing tsNet to reuse an existing SSL/TLS connection
> to the server will be quicker (it doesn't have to establish the SSL
> connection each time).
>
>
​Good to know what's behind the scene,
thanks again.

your SMTP external is a great feature !

Thierry


-- 

Thierry Douez - sunny-tdz.com
sunnYrex - sunnYtext2speech - sunnYperl - sunnYmidi - sunnYmage
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

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 yet), I've got an error when executing it.
>> Executing it again (same code and context) and all is fine then.
>>
>
> What is the error message that you get?




​Mmm, of course,  I should have read the error number :)
Will post back with other tests a bit later...
​

>
>
> - about the ResponseHeaders out parameter:
>>
> tsNet will try re-use an existing connection if there is one available, so
> this first example:
>
> Sometimes I get:
>>
>> 220-xxx..net ESMTP Exim 4.89 #1 Thu, 14 Sep 2017 14:17:38 +0200
>> 220-We do not authorize the use of this system to transport unsolicited,
>> 220
>> ​
>>
>> 250 OK id=1dsT5O-002hrt-TA
>>
>

> Indicates that there was no existing SMTP connection to the server, so it
> needed to establish a new connection.
>
> Where in the following example:
>>
>> 250 OK
>> 250 Accepted
>> 250 Accepted
>> 354 Enter message, ending with "." on a line by itself
>> 250 OK id=1dsSmD-003WQr-2l
>>
>

> This indicates that tsNet found an existing SMTP connection to the server
> you are connecting to, so could just send the message across the already
> open connection. ​

You can add the "no_reuse" element with a value of true to the settings
> array (last parameter to tsNetSmtpSync) if you want to establish a fresh
> connection for each e-mail that is sent rather than allowing tsNet to reuse
> an existing connection.
>

​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 scanning some address,
build dynamically the html-email and send one by one all emails.
​

>
> Hope that helps,
>


​Thanks Charles for your  explanations, much appreciated.


Regards,

Thierry



> In both cases, the email is sent and received correctly.
>>
>> Thanks for some hints.
>>
>> Thierry
>>
>>
-- 

Thierry Douez - sunny-tdz.com
sunnYrex - sunnYtext2speech - sunnYperl - sunnYmidi - sunnYmage
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

[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 ResponseHeaders out parameter:

Sometimes I get:

220-xxx..net ESMTP Exim 4.89 #1 Thu, 14 Sep 2017 14:17:38 +0200
220-We do not authorize the use of this system to transport unsolicited,
220 and/or bulk e-mail.
250-xxx..net Hello z [99.33.77.88]
250-SIZE 52428800
250-8BITMIME
250-PIPELINING
250-AUTH PLAIN LOGIN
250-STARTTLS
250 HELP
220 TLS go ahead
250-xxx..net Hello pommeDesFouets [99.33.77.88]
250-SIZE 52428800
250-8BITMIME
250-PIPELINING
250-AUTH PLAIN LOGIN
250 HELP
334 VXNlfg5hbWU6
334 UGFzc3sdfcmQ6
235 Authentication succeeded
250 OK
250 Accepted
250 Accepted
354 Enter message, ending with "." on a line by itself
250 OK id=1dsT5O-002hrt-TA

or this:

250 OK
250 Accepted
250 Accepted
354 Enter message, ending with "." on a line by itself
250 OK id=1dsSmD-003WQr-2l

In both cases, the email is sent and received correctly.

Thanks for some hints.

Thierry


-- 

Thierry Douez - sunny-tdz.com
sunnYrex - sunnYtext2speech - sunnYperl - sunnYmidi - sunnYmage
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


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 use-livecode <
use-livecode@lists.runrev.com>:

> New version of "Make DocSet" uploaded.
>
> Changes in version 1.1
>
> • LC icon added.
> • Table of contents added for Guides.
>   They will appear in the left pane when viewing a guide.
>
> James
>
>
>
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>



-- 

Thierry Douez - sunny-tdz.com
sunnYrex - sunnYtext2speech - sunnYperl - sunnYmidi - sunnYmage
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

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
> have upgraded the tools they use to analyse binaries, and this has shown
an
> error in the Mach-O structure of the 64-bit slice. The version of otool
> with Xcode 6.x (on 10.9) does not show a problem, but newer versions do.
>
> For this reason, we have built a new version of LiveCode 8.1.6 that
> addresses this issue.
>
> So if you have already installed the original LiveCode 8.1.6 and are
> affected by this issue, please visit now
>
> http://downloads.livecode.com/livecode/
>
> and download the latest 8.1.6 (STABLE), released on the 31st of August.
>
> Best regards,
> The LiveCode Team



2017-09-02 8:46 GMT+02:00 Richmond Mathewson via use-livecode <
use-livecode@lists.runrev.com>:

> I did:
>
> Came back and found a second version of the 'stable' 8.1.6 . . .
>
> But could not find out why, what and so on . . .
>
> Richmond.
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>



-- 

Thierry Douez - sunny-tdz.com
sunnYrex - sunnYtext2speech - sunnYperl - sunnYmidi - sunnYmage
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


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
>> return s
>> end get
>>
>
> Yes, I use that a lot.
>
>

+1


-- 

Thierry Douez - sunny-tdz.com
sunnYrex - sunnYtext2speech - sunnYperl - sunnYmidi - sunnYmage
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


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, 2017, at 14:12 , Tom Glod via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> >
> > Hi folks, my company is currently taking quotes on building an LC
> external
> > to act as a driver for RethinkDB.  I have already submitted a request
> with
> > Monte & Ian over at Livecode, but would like to open it up to everyone
> that
> > has the skill to build the externalI don't really even know if there
> is
> > anyone else.
> >
> > Here are the exact specs.
> >
> > https://www.rethinkdb.com/docs/writing-drivers/
> >
> > The more precise the quote the better.
> >
> > Thanks,
> >
> > Tom
>
>
-- 

Thierry Douez - sunny-tdz.com
sunnYrex - sunnYtext2speech - sunnYperl - sunnYmidi - sunnYmage
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Parsing (scraping) OpenGraph Tags from html HEAD

2017-08-02 Thread Thierry Douez via use-livecode
2017-08-02 17:54 GMT+02:00 Sannyasin Brahmanathaswami via use-livecode <
use-livecode@lists.runrev.com>:

> Responding on top
>
> Jacque's method only gets us a  list, not an array, so one ends up having
> to write more code to parse the list anyway, your method is more efficient.
>
> "not comfortable with RegEx"  Ha,, right. but it worth the effort to keep
> the little grey cells green! I will have to study the regEx… things like ?ms
> are "brand new" to me.
>

​So, you win your first Regex training :)

(?ms) are regex options.

m means multi-lines
s means the dot ( '.' ) could also match a return/cr/lf char.

​

>
>
> re: extracting the head first: I was under the impression your repeat loop
> would have to work through the entire text of _HTML unnecessarily and that
> extracting the heads would reduce processing time.



​Well, you are right:
 but only when the regex will try to match after the last valid pattern.

What is most costly is the delete inside the loop; so working only with the
... of your html might be more efficient in this case. But
this is more a LC thing.


​

> OTOH, Andre tells me that for this kind of operation, even cell phones
> have CPU's that are more powerful than some desktop machines and so perhaps
> the time to loop through the entire html source is too trivial to consider
> at all.
>

​Yep, as I said, only after the last match, the regex will loop through the
end
of the html and only one time. About quality concerns, restricting the
regex to the  part is a good idea as you never know what could be
some html in the future...

​

>
> Thanks for the effort you put into this.


You're welcome.

Kind regards,

Thierry



We are adding OG tags to all the 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
> use-livecode@lists.runrev.com> wrote:
>
> 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 do.​
>
>
> Either way it would seem prudent to extract the head first before
> processing
> >
>
> ​Mmm, don't really see why, but I've added a line of code for this too
> below.
>
> ​
>
> >
> > Using jacques method just gets the list..
>
> and we need to do more coding to get the array we need.
> >
> > But your method can only handle 1 tag.
> >
>
>
> ​I was aware of that but didn't know what you want to achieve,
> therefore I
> leave it for the reader.
> However this has nothing to do with the regex but with the code inside
> the
> repeat loop.
>
>
> Here is another way to do it, changing only *1* line of code inside
> the loop
> with the same regex as before:
>
>
>
>   -- to please BR wishes, but not necessary
>   -- erase everything after 
>put replaceText( _Html, "(?ms).*?$", empty) into _Html
>
>repeat while matchChunk( _Html, Rx, p1,p2,p3,p4 )
>   put  char p1 to p2 of _Html & tab& char p3 to p4 of _Html  
> after
> Rslt
>   delete char 1 to p4 of _Html
>end repeat
>delete last char of Rslt -- extra cr
>
>put Rslt into fld 1
>answer "Got " & the number of lines of Rslt & " og: meta tags!"
>
>
> Building a multi-dimensionnal array after the extraction,
> a bit more work inside the repeat loop will be needed,
> but  the extraction part is still valid.
> ​
>
> ​
>
> Finally, if you are not at ease with regex, go with Jacque's way and
> everything will be fine.
> There are fundamentally not much differences in between the 2 ways.
>
>
> Kind regards,
>
> Thierry
>
>
>
>
>
>
> > On 7/31/17, 12:31 AM, "use-livecode on behalf of Thierry Douez wrote:
> >
> > So, here is the code:
> >
> >local Rx, Rslt, _Html, OG
> >
> >put empty into Rslt
> >put URL "https://www.youtube.com/user/kauaiaadheenam; into
> _Html
> >
> >get
> > "(?ms)<meta\s+property=\x{22}og:(.+?)\x{

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 do.​


Either way it would seem prudent to extract the head first before processing
>

​Mmm, don't really see why, but I've added a line of code for this too
below.

​

>
> Using jacques method just gets the list..

and we need to do more coding to get the array we need.
>
> But your method can only handle 1 tag.
>


​I was aware of that but didn't know what you want to achieve, therefore I
leave it for the reader.
However this has nothing to do with the regex but with the code inside the
repeat loop.


Here is another way to do it, changing only *1* line of code inside the loop
with the same regex as before:



  -- to please BR wishes, but not necessary
  -- erase everything after 
   put replaceText( _Html, "(?ms).*?$", empty) into _Html

   repeat while matchChunk( _Html, Rx, p1,p2,p3,p4 )
  put  char p1 to p2 of _Html & tab& char p3 to p4 of _Html   after
Rslt
  delete char 1 to p4 of _Html
   end repeat
   delete last char of Rslt -- extra cr

   put Rslt into fld 1
   answer "Got " & the number of lines of Rslt & " og: meta tags!"


Building a multi-dimensionnal array after the extraction,
a bit more work inside the repeat loop will be needed,
but  the extraction part is still valid.
​

​

Finally, if you are not at ease with regex, go with Jacque's way and
everything will be fine.
There are fundamentally not much differences in between the 2 ways.


Kind regards,

Thierry






> On 7/31/17, 12:31 AM, "use-livecode on behalf of Thierry Douez wrote:
>
> So, here is the code:
>
>local Rx, Rslt, _Html, OG
>
>put empty into Rslt
>put URL "https://www.youtube.com/user/kauaiaadheenam; into _Html
>
>get
> "(?ms) 22}(.+?)\x{22}>"
>put IT into Rx
>
>repeat while matchChunk( _Html, Rx,p1,p2,p3,p4 )
>   put  char p3 to p4 of _Html  into OG[  char p1 to p2 of _Html ]
>   delete char 1 to p4 of _Html
>end repeat
>
>
>
> and you can test it this way:
>
>combine OG using return and ":"
>put OG into fld 1
>
>
>
> HTH and feel free to ask any question...
>
> Kind regards,
>
> Thierry
>


-- 

Thierry Douez - sunny-tdz.com
sunnYrex - sunnYtext2speech - sunnYperl - sunnYmidi - sunnYmage
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

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-
> c-k-no-mo-rj-c0xff/photo.jpg">
> 
>
> c) you also cannot depend on the output being line delimited, because some
> CMS's delivery "agents" will minimize this to
>
>  content="https://www.youtube.com/user/kauaiaadheenam;> property="og:title" content="Kauai's Hindu Monastery"> property="og:image" content="https://yt3.ggpht.
> com/-p766LczvKHY/AAI/AAA/SIu6ZAJbMDc/s900-
> c-k-no-mo-rj-c0xff/photo.jpg"> content="{where hinduism meets the future}">
>
> Has anyone rolled up a parser/scraper for this?

Looks like "idiot simple text extraction"



​Hi,

Here is a quick coded piece of code, tested only on your URL.
I did write this regex based on the Datas you provide in your email.
​

>

I see the other thread on scraping pages generated by JS and suspect
> perhaps some wizard among us already has this done…would save a bit of time
> here.
>
> BR
>

​Every time you see any kind of scraping/search/extraction/transformation
in JS, you can be sure
it's possible to do it in LiveCode​

So, here is the code:

   local Rx, Rslt, _Html, OG

   put empty into Rslt
   put URL "https://www.youtube.com/user/kauaiaadheenam; into _Html

   get
"(?ms)"
   put IT into Rx

   repeat while matchChunk( _Html, Rx,p1,p2,p3,p4 )
  put  char p3 to p4 of _Html  into OG[  char p1 to p2 of _Html ]
  delete char 1 to p4 of _Html
   end repeat



and you can test it this way:

   combine OG using return and ":"
   put OG into fld 1





HTH and feel free to ask any question...

Kind regards,

Thierry

-- 

Thierry Douez - sunny-tdz.com
sunnYrex - sunnYtext2speech - sunnYperl - sunnYmidi - sunnYmage
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

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
>
>
​Glad that you like it :)
​

> >> function testForChinese T
> >> ​xt​
> >> ​ -- any htmltext​
> >>   return matchText(
> >> ​Txt
> >> , "

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
something like that (not tested and never used myself) :


function testForChinese utf8Text
   return matchText( utf8Text, "\p{Han}")
end testForChinese

Of course, it won't work with  htmlText, but straight with
the text of a field, assuming it's coded in UTF8 !!!


HTH,

Thierry
​

> ​
> ​Mmm, not sure you'll get *only* Chinese characters,
> but at least any entity with only 5 numbers.
>
> This function returns true if find any, false otherwise:
> ​
> function testForChinese T
> ​xt​
> ​ -- any htmltext​
>return matchText(
> ​Txt
> , "

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 entity
> with 5 numbers between the “#” and the “;”
>
> Only data containing 5 numbers between the “#” and the “;” would return
> true. Having ONLY "” but not the other would return false.
>
> Thanks for suggestions!
>
> Peter Bogdanoff
>
>
​Hi Peter,
​

​Mmm, not sure you'll get *only* Chinese characters,
but at least any entity with only 5 numbers.

This function returns true if find any, false otherwise:
​
function testForChinese T
​xt​
​ -- any htmltext​
   return matchText(
​Txt
, "

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 where it tries to include externals.
>
>
Just a guess; might be RC 3 would help...


Regards,

Thierry​

-- 

Thierry Douez - sunny-tdz.com
sunnYrex - sunnYtext2speech - sunnYperl - sunnYmidi - sunnYmage
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

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
> ​...
>


This audio message is telling you that you have a Trial-Demo version
of sunnYtext2speech external.

There is *no audio message with the licensed one*!

This is the only difference between the Trial and the licensed version.

Regards,

Thierry


> --

Thierry Douez - sunny-tdz.com
sunnYrex - sunnYtext2speech - sunnYperl - sunnYmidi - sunnYmage
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

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 actions.
>
>
>
>>> It would be very nice to be able to get and set the rawClipboardData on
>>> mobile but that is only possible on the desktop.
>>>
>>

On my latest release of sunnYtext2speech, I did add an experimental
copy and paste commands.

Contact me off-list if any interest.

Kind regards,

Thierry

-- 

Thierry Douez - sunny-tdz.com
sunnYrex - sunnYtext2speech - sunnYperl - sunnYmidi - sunnYmage
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Regex help...

2017-06-05 Thread Thierry Douez via use-livecode
@Paul,
to defend you, it's not always so obvious to know what we can or cannot do
with regex.


@Mike
yes, Perl is great and that's certainly why I have embeded Perl in
LiveCode, Mmm, more than 10 years ago.

I've also helped some well known LiveCoders to do some complex
transformation with Perl where
they were lost in pure LiveCode script; but this is another story.

By the way, there is a not free LiveCode library called sunnYrex which
accepts LiveCode script inside
the replacement text.. pretty cool too but not useful in Paul use case.

Kind regards,

Thierry



2017-06-05 15:23 GMT+02:00 Paul Dupuis via use-livecode <
use-livecode@lists.runrev.com>:

> Thank you Thierry and everyone else.
>
> I should have realized that I couldn't do this entirely with regex due
> to the need to compare the number values. It was a long day yesterday
> and my brain just 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:
> >
> >
> >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
> >
> >   put T & cr after tCiCfilteredData
> >
> >   end if
> >
> >   end if
> >
> >end repeat
> >
> >put tCiCfilteredData
> >
> >
> > But for the curious with an open-mind here is another solution:
> >
> >
> >get "perl -ne 'print if /\t(\d+),\d+,(\d+),\d+$(?(?{$1>PP ||
> > $2<PP})(*FAIL))/'"
> >
> >get replaceText( IT, "PP", pPage)
> >
> >put shell( IT && "/your/path/CiCData.txt")
> >
> > What? the regex do the comparison!
> > Well yes and no; in Perl we can embed Perl code *inside* the regex,
> > like: (?{$1>PP || $2<PP})
> >
> > $1>PP || $2 >
> > As we have a mixture of a regex pattern and some perl code;
> > that is in fact another hybrid solution.
> >
> >
> > And of course, you can do it  using only chunks , item and so on...
> >
> > Have fun,
> >
> > Thierry
> >
> >
> > 2017-06-04 17:35 GMT+02:00 Paul Dupuis via use-livecode <
> > use-livecode@lists.runrev.com>:
> >
> >> I have a tab and cr delimited table of data, a sample line of which is
> >> below:
> >>
> >> 1Test4052,125941,4052,3,2388
> >>
> >> Can someone help me revise this regex to match what I need?
> >>
> >> Thank you kindly, in advance.
> >>
>

-- 

Thierry Douez - sunny-tdz.com
sunnYrex - sunnYtext2speech - sunnYperl - sunnYmidi - sunnYmage
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


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

  put T & cr after tCiCfilteredData

  end if

  end if

   end repeat

   put tCiCfilteredData


But for the curious with an open-mind here is another solution:


   get "perl -ne 'print if /\t(\d+),\d+,(\d+),\d+$(?(?{$1>PP ||
$2PP || $2PP || $2:

> I have a tab and cr delimited table of data, a sample line of which is
> below:
>
> 1Test4052,125941,4052,3,2388
>
> Can someone help me revise this regex to match what I need?
>
> Thank you kindly, in advance.
>

-- 

Thierry Douez - sunny-tdz.com
sunnYrex - sunnYtext2speech - sunnYperl - sunnYmidi - sunnYmage
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


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.

Enjoy your week-ed,

Thierry
​

​Yes, you are right, so I rewrite it a bit to be more *readable*:
>
>
> sort lines of T numeric by AaZz_sort(char 1 of each)
>
> function AaZz_sort x
>get chartonum( x)
>if IT > 96 then return ( IT - 96) * 2 + 1
>else return ( IT - 64) * 2
> end AaZz_sort
> ​
>

-- 

Thierry Douez - sunny-tdz.com
sunnYrex - sunnYtext2speech - sunnYperl - sunnYmidi - sunnYmage
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

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 did use this time to clean my garden,
did some house construction and enjoyed
to talk longer with friends in the city :)

But I'll have to work all the week-end now :)

Kind regards,

Thierry
​

> >
> >> 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 which broke all Internet
> network in our area since last Friday.
>
> You can do this in 2 ways:
>
> - make your .* non greedy by adding a '?' suffix
>
> - or modify your regex this way:
>
>"\[ [^\]]*]" which means looking for an open bracket followed by zero
> to any number of chars which are not a close bracket, and last a close
> bracket.
> BTW, no need to escape the last closing bracket; the regex engine is smart
> enough.
>
>
> PCRE library accepts the 2 forms.
>
> HTH,
>
> Thierry
>  ​
>

-- 

Thierry Douez - sunny-tdz.com
sunnYrex - sunnYtext2speech - sunnYperl - sunnYmidi - sunnYmage
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

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 second sort as 'primary' sort?
>

​Mmm, no ?
I thought that was the question from the OP... misreading  :)
​

>
> 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.
>

​Yes, you are right, so I rewrite it a bit to be more *readable*:


sort lines of T numeric by AaZz_sort(char 1 of each)

function AaZz_sort x
   get chartonum( x)
   if IT > 96 then return ( IT - 96) * 2 + 1
   else return ( IT - 64) * 2
end AaZz_sort
​


> But your ASCII-number-formula for uppercase/lowercase A-Za-z
> ordering is really worth to go in a lib!
>
> Hermann
>
> By the way, my "solution" is the following, that handles uppercase
> char before lowercase char sorting for each char of the lines.
>
>   set the casesensitive to true -- secondary sort:
>   sort myContainer
>   set the casesensitive to false -- primary sort:
>   sort myContainer
>
>
​I'll try to come up with something else later...

Thierry​

-- 

Thierry Douez - sunny-tdz.com
sunnYrex - sunnYtext2speech - sunnYperl - sunnYmidi - sunnYmage
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

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 which broke all Internet
network
in our area since last Friday.

You can do this in 2 ways:

- make your .* non greedy by adding a '?' suffix

- or modify your regex this way:

   "\[ [^\]]*]" which means looking for an open bracket followed by zero to
any number of chars which are not a close bracket, and last a close bracket.
BTW, no need to escape the last closing bracket; the regex engine is smart
enough.


PCRE library accepts the 2 forms.

HTH,

Thierry
​
-- 

Thierry Douez - sunny-tdz.com
sunnYrex - sunnYtext2speech - sunnYperl - sunnYmidi - sunnYmage
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

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 for...

and I have no ideas if the double-sort is faster then this one.


Thierry


Thierry Douez - sunny-tdz.com
sunnYrex - sunnYtext2speech - sunnYperl - sunnYmidi - sunnYmage
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


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. :)

So what should it be?
>
> Also, that's a non-standard format for a function.

I've never seen it written that way before.


​

This should be a one-line command!
I've typed this post with the new Opera browser
???


Another try with 2 lines:

put "1 [A] 2 [B] 3." into tText
put  removeBrackets( tText)

​Better?

Thierry​



Thierry Douez - sunny-tdz.com
sunnYrex - sunnYtext2speech - sunnYperl - sunnYmidi - sunnYmage
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

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 - sunny-tdz.com
sunnYrex - sunnYtext2speech - sunnYperl - sunnYmidi - sunnYmage
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

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


-- 

Thierry Douez - sunny-tdz.com
sunnYrex - sunnYtext2speech - sunnYperl - sunnYmidi - sunnYmage
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

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
>
> http://livecodeshare.runrev.com/stack/825/tinyDictionary_0_7_7_7
>
> this is also accessible via "Sample Stacks" from inside LC.
>
> it is the result of Mike Kerners push to have a small footprint dictionary.
>
> James Hale contributed to tinyDict, thanks James.
>
> Comments bug reports either on the use-list or in the forum
>
> http://forums.livecode.com/viewtopic.php?f=67=28731=152646#p152646
>
> or mail me.
>
> Kind regards
> Bernd
>
>
>
> --
> View this message in context: http://runtime-revolution.
> 278305.n4.nabble.com/ANN-tinyDictionary-tp4713256.html
> Sent from the Revolution - User mailing list archive at Nabble.com.
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>



-- 

Thierry Douez - sunny-tdz.com
sunnYrex - sunnYtext2speech - sunnYperl - sunnYmidi - sunnYmage
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


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

-- 

Thierry Douez - http
​s​
://sunny-tdz.com 
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

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 card 1 of stack "revErrorDisplay"
>
>
> In 8.1.3, AFAICT, the stack "revErrorDisplay" has no such property.
>
> The dictionary still recommends this technique.
>
> Was there a flaw in the building process, or has there been a change (not
> yet reflected in the documentation)?
>
> TIA,
>
> Ben
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>



-- 

Thierry Douez - http://sunny-tdz.com
sunnYrex - sunnYtext2speech - sunnYperl - sunnYmidi - sunnYmage
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


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​



Thierry Douez - http
​s​
://sunny-tdz.com 
sunnYrex - sunnYtext2speech - sunnYperl - sunnYmidi - sunnYmage
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode