Search found 636 matches

by Thierry
Fri Oct 11, 2019 9:43 am
Forum: Mac OS
Topic: BBEdit 12.5 Language module for LC
Replies: 13
Views: 1594

Re: BBEdit 12.5 Language module for LC

Thanks all for your interest. Unfortunately, due to a lack of time and resources, this will take a while to expose this tool to others. To recap, this tool is a Livecode scripter environment using the best of BBEdit. Most of the workflow is done within BBEdit without opening LC IDE. In fact, lc engi...
by Thierry
Fri Oct 11, 2019 9:01 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Various ways of matching a line
Replies: 7
Views: 335

Re: Various ways of matching a line

Hi Michael, Here is a naive but functionnal example, using the matchText() function without transforming your input datas and putting cols value in respective variables... /* 1 heather founder 42 mary engineer 3 john intern 2 pat CEO 5 bob accountant */ on test_CSV_MichaelBluejay local T put line 2 ...
by Thierry
Wed Oct 02, 2019 10:22 am
Forum: Talking LiveCode
Topic: Huge libcef.so in Linux standalone
Replies: 11
Views: 515

Re: Huge libcef.so in Linux standalone

I am using 9.0.4 rc3, Mac. It was working fine before. Mmm, 1 second before dying, one was fully alive :roll: You have changed quite few things last week, building your standalone... I will do some testing but of course I do need Internet. Sure, only to narrow down the problem... Thanks Thierry for...
by Thierry
Wed Oct 02, 2019 10:02 am
Forum: Talking LiveCode
Topic: Huge libcef.so in Linux standalone
Replies: 11
Views: 515

Re: Huge libcef.so in Linux standalone

Yes. I have selected "Select Inclusions..." and I have the following items selected for inclusion: oAuth2 Library JSON Library HTTPD Library Internet MySQL Database SSL & Encryption Answer Dialog Ask Dialog Well, for testing purposes, you could unchecked some of these one by one ( HTTPD, Internet, ...
by Thierry
Wed Oct 02, 2019 9:24 am
Forum: Talking LiveCode
Topic: Huge libcef.so in Linux standalone
Replies: 11
Views: 515

Re: Huge libcef.so in Linux standalone

Hi folks. Do you know how I stop libcef.so from embedding itself in the standalone? I assumed it would be in the Inclusions. Browser is unchecked there and I cannot see anything else browser related. Thanks. Hi Kaveh, Have you selected "Select inclusions.." in the General Pane of standalone setting...
by Thierry
Mon Sep 30, 2019 8:23 am
Forum: Talking LiveCode
Topic: Getting JSON from Google Sheets with unicode chars
Replies: 23
Views: 802

Re: Getting JSON from Google Sheets with unicode chars

I replaced the hack via html with numToCodePoint() to get the "\uXXXX" encoded Jason characters. Hi Kaveh, As you're a sunnYrex user, here is another solution using sunnYreplace(). In fact it's the same logic as Bernd's solution, but written differently. <....> put textDecode(tSheetImported, "utf8"...
by Thierry
Wed Sep 11, 2019 1:10 pm
Forum: Talking LiveCode
Topic: IDE: How to go back to "none/default" Color
Replies: 7
Views: 353

Re: IDE: How to go back to "none/default" Color

I can't get it back to the "default/none" back slash option.
Right-click -> Reset to default

Regards,
by Thierry
Wed Sep 04, 2019 5:56 am
Forum: Talking LiveCode
Topic: Cannot add stack in Standalone Application settings
Replies: 32
Views: 1053

Re: Cannot add stack in Standalone Application settings

I can add sunnYrex library to any other stack in the Standalone Application Settings, and sunnYrex shows up in the list of stacks on the left, as expected. When using a particular mainstack , LC allows me to open sunnYrex through the Standalone settings, but it then does not show up in the list of ...
by Thierry
Tue Sep 03, 2019 10:48 am
Forum: Talking LiveCode
Topic: Cannot add stack in Standalone Application settings
Replies: 32
Views: 1053

Re: Cannot add stack in Standalone Application settings

I am using LC 9.0.5rc1 on Mac. I am trying to add a stack that I have added before to include in a Standalone. Any ideas please? Hi Kaveh, I'm sorry I have no ideas, but please, understand that sunnYrex is just a stack, a small stack with some scripts which does nothing except when you call one fun...
by Thierry
Mon Aug 19, 2019 7:39 pm
Forum: Talking LiveCode
Topic: Implementing full regex in LiveCode
Replies: 36
Views: 2470

Re: Implementing full regex in LiveCode

So I have produced a test stack, attached. There are 5000 line to change in the top field (4998 unique). This takes some 10 seconds on LiveCode. In BBEdit, using (\d+)([A-Z]+) > \2 \1 it is instantaneous (less than 1/4 sec I estimate). Regex is fast!! So the challenge is how to make this faster. Lo...
by Thierry
Sun Aug 18, 2019 11:45 am
Forum: Talking LiveCode
Topic: Importing data from Google Sheets (problem with returns in cells) [wrong attachment, now updated]
Replies: 10
Views: 531

Re: Importing data from Google Sheets (problem with returns in cells) [wrong attachment, now updated]

Can anyone help me get clean data into LiveCode? thanks. Hi Kaveh, As you have reported 2 interesting bugs in sunnYrex last week, you win half an hour of my rainy sunday morning time and here is the result: A proof of concept and a working 20 lines of pure Livecode with a couple of regex. Screensho...
by Thierry
Tue Jun 18, 2019 5:22 pm
Forum: Talking LiveCode
Topic: OpenStack not runnning
Replies: 17
Views: 1191

Re: OpenStack not runnning

I don't know if this applies in your case, but if you close a stack and destroystack is false, the stack remains in RAM. Not relevant in this case. However, doing few manipulations with LC, I managed to fire an error in revdebuglibrary, on __Resolved function Line 1957 Looks like something as ghost...
by Thierry
Thu Jun 13, 2019 1:17 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: What is the opposite of launch?
Replies: 13
Views: 1179

Re: What is the opposite of launch?

There's no direct way to 'cleanly' close a running macOS app - but applescript can be used.... Here is how I do that in one of my LC tutorial: try get shell(format( \ "osascript -e 'tell application \"MidiKeys\" to quit'")) get shell(format( \ "osascript -e 'tell application \"MIDIMonitor.app\" to ...
by Thierry
Thu Jun 06, 2019 12:01 pm
Forum: Databases
Topic: CSV-UTF-8
Replies: 5
Views: 1208

Re: CSV-UTF-8

GregWills wrote:
Is there a way to export data from Livecode to this format?
Hi Greg,

I believe if you're looking in the dictionary for
textEncode() and textDecode() that will make you happy...

Regards,

Thierry
by Thierry
Mon May 06, 2019 2:57 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Easier way to do this? Find variables in text
Replies: 17
Views: 1136

Re: Easier way to do this? Find variables in text

Here is a minimal stack that does the job using regex Hi Kaveh, If you don't mind, here is a slightly optimized and less verbose version of your code: on mouseup local tOriginal, tResult put fld "Original" into tOriginal repeat forever if not matchChunk(tOriginal, "@{(.+?)}", tStart, tEnd) then exi...

Go to advanced search