Search found 636 matches

by Thierry
Tue Feb 05, 2019 1:30 am
Forum: Mac OS
Topic: BBEdit 12.5 Language module for LC
Replies: 13
Views: 1563

Re: BBEdit 12.5 Language module for LC

Is this a mod of the updates to Trevor’s original modules we did for Livecode Script and LiveCode Builder back in Sept 2015?[/url] from BBEdit's doc at https://www.barebones.com/support/develop/index.html Language Modules If you are a language designer (or fan!) and would like BBEdit customers to b...
by Thierry
Mon Feb 04, 2019 6:39 pm
Forum: Mac OS
Topic: BBEdit 12.5 Language module for LC
Replies: 13
Views: 1563

BBEdit 12.5 Language module for LC

Hi, dusting off my office shelves, I've updated an old project (2013): a Language module for BBEdit 12.5 or up. sunnY- 2019-02-04 à 17.46.36.png As a test, Parse (and fold) successfully revidelibrary.8.livecodescript: (426 k and 12 301 lines ) sunnY- 2019-02-04 à 18.24.51.png So, the question is: wh...
by Thierry
Sun Feb 03, 2019 12:48 pm
Forum: Bug Triage
Topic: Variable check not correct?
Replies: 11
Views: 1514

Re: Variable check not correct?

bogs wrote: If anything, you've made my day sunnier indeed :D
Then everything is perfect... :)
by Thierry
Sun Feb 03, 2019 11:42 am
Forum: Bug Triage
Topic: Variable check not correct?
Replies: 11
Views: 1514

Re: Variable check not correct?

OOOOooooooo, I like that! Thanks Hermann! The learning curve isn't steep, so much as it was fractured, so I wind up coding in "baby talk" as it were :) Hi Sir bogs, In the same spirit as Hermann, here are 2 other options to do it... if matchText( the short name of the target, "^rdo(.*)$", aTopic ) ...
by Thierry
Thu Jan 31, 2019 11:21 am
Forum: Talking LiveCode
Topic: Can a function return two values?
Replies: 21
Views: 1526

Re: Can a function return two values?

Hi kaveh, Never forget that LiveCode is sooooo flexible... So, here is one way by setting your own delimiter: local kaveh_delimiter = "__KAVEH__" function split_it pText // ...do some magic to get tText1 and tText2 put char 1 to 10 of pText into tText1 put char 11 to -1 of pText into tText2 return t...
by Thierry
Tue Jan 15, 2019 9:03 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: convert array to tab delimited data
Replies: 10
Views: 1061

Re: convert array to tab delimited data

VERY useful for callbacks from JavaScript, using LC's javascriptHandlers. And also (the excellent technique) for use in LC Builder. Welcome back Thierry, and thanks for that! Thanks Herman, sunnY- 2019-01-14 à 14.28.16.png If you are using it for this purpose, you might be interested with a more ef...
by Thierry
Sat Jan 12, 2019 9:16 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: convert array to tab delimited data
Replies: 10
Views: 1061

Re: convert array to tab delimited data

inbo712 wrote: Thank you for the flattenArray function. That was exactly what I needed.
Glad that it works for you!
And welcome to the LC world...
bogs wrote: Thierry, wonderful to see you post, it has been much too long!
Nice to see again your legendary friendly and gentle attitude.
Much appreciated :)

Thierry
by Thierry
Fri Jan 11, 2019 2:11 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: convert array to tab delimited data
Replies: 10
Views: 1061

Re: convert array to tab delimited data

Hi, Is this what you want? sunnY- 2019-01-11 à 13.52.56.png datas from: http://lessons.livecode.com/m/4071/l/21022-how-do-i-display-an-array-in-human-readable-form If yes, then try this script: function flattenArray A , d1, d2, T, X if T is empty then if d1 is empty then put cr into d1 if d2 is empt...
by Thierry
Fri Jan 12, 2018 11:54 am
Forum: Windows
Topic: Registry query
Replies: 3
Views: 958

Re: Registry query

rblackmore245 wrote:
Fri Jan 12, 2018 11:27 am
Only problem is it is returned not as HEX but as a string
Hi,

One trick is to add 0 to your string.

Code: Select all

put queryRegistry("HKEY_LOCAL_MACHINE\SOFTWARE\.......") into theValue
put format( "%d", theValue + 0 )
by Thierry
Thu Jan 11, 2018 5:09 pm
Forum: Rich Media
Topic: HyperTalk ABC Music Notation via MIDI
Replies: 6
Views: 2472

Re: HyperTalk ABC Music Notation via MIDI

Hi all, For a private project, I had to evaluate and validate if it was possible to build an external in 64 bits, using Flex and Bison ! As I was using these tools in 2009 for my Maestro Junior( ABC player) MacOSX external, I spent a couple of hours to update everything and here is a new version whi...
by Thierry
Fri Jan 05, 2018 8:31 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: NULL character, cause of
Replies: 12
Views: 2355

Re: NULL character, cause of

...., but if you see a solution, it would be much appreciated. Hi Monty, my take on this: On this screenshot; top-left is the input text, bottom-left is the generated output and right the output in my browser. sunnY- 2018-01-05 à 08.15.52.png and here is the code: function buildFootNotes Txt local ...
by Thierry
Thu Nov 09, 2017 1:05 pm
Forum: Mac OS
Topic: Problem with "get" command
Replies: 2
Views: 1154

Re: Problem with "get" command

Hi Peter,

shooting a bit in the dark...

could you try to add this line before your get url?

set the httpHeaders to empty

Regards,

Thierry
by Thierry
Thu Oct 26, 2017 7:51 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: extract data from socket?
Replies: 4
Views: 617

Re: extract data from socket?

but i need pass the "f0" and "f1" on two lines in a datagrid. So I guess I have to extract only what's inside the instance name="" into something? Try this code in a button: on mouseup local tData, R put line -16 to -2 of the script of me into tData filter lines of tData with regex pattern "<instan...
by Thierry
Mon Oct 09, 2017 11:40 am
Forum: LiveCode Hosting
Topic: revigniter removing index.lc from URL
Replies: 3
Views: 1223

Re: revigniter removing index.lc from URL

Hi,

A couple of years ago, having to build a couple of complex web sites including mine,
I found the ebook .htaccess made easy very much helpful.

https://htaccessbook.com

I'm just a happy reader of this ebook, nothing more.

Regards,

Thierry
by Thierry
Fri Oct 06, 2017 9:03 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Email question.
Replies: 6
Views: 1158

Re: Email question.

mrcoollion wrote:
Fri Oct 06, 2017 8:30 am
SOLUTION >>http://lessons.livecode.com/m/4071/l/68 ... t-external
That was fast :)
and I wasn't aware of this lesson.

Regards,

Thierry

Go to advanced search