Search found 640 matches

by Thierry
Fri Feb 08, 2019 9:42 am
Forum: Mac OS
Topic: BBEdit 12.5 Language module for LC
Replies: 13
Views: 1724

Re: BBEdit 12.5 Language module for LC

...

Here is a screenshot of BBEdit preferences
for LiveCode settings.


BBEdit-Livecode-prefs.png
by Thierry
Fri Feb 08, 2019 8:44 am
Forum: Mac OS
Topic: Can't open USB serial device
Replies: 25
Views: 2532

Re: Can't open USB serial device

Got it to connect. I changed the device address to: "/dev/cu.usbmodem207F376659521" Hi, I think here is an explanation (at least for me): The idea is to supplement software in sharing a line between incoming and outgoing calls. The callin device (typically /dev/tty*) is used for incoming traffic. A...
by Thierry
Wed Feb 06, 2019 9:41 am
Forum: Mac OS
Topic: BBEdit 12.5 Language module for LC
Replies: 13
Views: 1724

Re: BBEdit 12.5 Language module for LC

jameshale wrote: ok, so how do we obtain this?
Hi James,

Well, the main question of my original Post was:
who is interested ?
So, great; at least one is interested!

Kind regards,

Thierry
by Thierry
Tue Feb 05, 2019 9:24 am
Forum: Mac OS
Topic: BBEdit 12.5 Language module for LC
Replies: 13
Views: 1724

Re: BBEdit 12.5 Language module for LC

Aha, cool. :D Sure and even more if one understand the plus of this tool compared to the codeless one :) The 2 main nice features are the possibility to fold everything ( repeat, switch, if, try,..) and the badges in the functions menu ( see screenshots in my 1st post). e.g, 7th level of folding at...
by Thierry
Tue Feb 05, 2019 1:30 am
Forum: Mac OS
Topic: BBEdit 12.5 Language module for LC
Replies: 13
Views: 1724

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

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

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

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

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

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

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

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

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

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

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

Go to advanced search