Search found 4137 matches

by bn
Wed Mar 25, 2026 2:28 pm
Forum: Talking LiveCode
Topic: Adventures into matchChunk and regex
Replies: 16
Views: 5146

Re: Adventures into matchChunk and regex

The task was to break up short texts into 3, 4 or 5 paragraphs. I manged that by counting full stops "." and determine the number of sentences that should make up a paragraph
The question is how many sentences are there.
Kind regards
Bernd
by bn
Wed Mar 25, 2026 12:54 pm
Forum: Talking LiveCode
Topic: Adventures into matchChunk and regex
Replies: 16
Views: 5146

Re: Adventures into matchChunk and regex

I have absolutely no objection to using Regex whatsoever, but IFF something can be done in xTalk 'pure and simple' why resort to it? How do you resolve this? El Banco Nacional de México, S.A. ("Banamex"), Teléfonos de México, S.A.B. de C.V. ("TELMEX"), Operadora de Cinemas, S.A. de C.V. ("Cinemex")...
by bn
Wed Mar 25, 2026 10:47 am
Forum: Talking LiveCode
Topic: Adventures into matchChunk and regex
Replies: 16
Views: 5146

Re: Adventures into matchChunk and regex

However:
A knockout (abbreviated to KO or K.O.) is a fight-ending...
(From Wikipedia)

Since not all abbreviations might end in ".g. " and it is hard to tell which abbreviations might appear in text I resorted to Regex.

That is the whole point of my post.

Kind regards
Bernd
by bn
Tue Mar 24, 2026 6:16 pm
Forum: Talking LiveCode
Topic: Livecode Community on Apple Silicon
Replies: 33
Views: 5023

Re: Livecode Community on Apple Silicon

Hi Emily-Elizabeth, Here are some observations: My Mac: Macbook Pro M1 chip; System 15.7.4 Sequoia ------------------------ Field object with horizontal scrollbar visible: dragging the scrollbar with mouse makes the scrollbar go to top or button. No intermediate positions. Scrollbar does not follow ...
by bn
Mon Mar 23, 2026 11:52 pm
Forum: Talking LiveCode
Topic: Livecode Community on Apple Silicon
Replies: 33
Views: 5023

Re: Livecode Community on Apple Silicon

Hi Emily-Elisabeth,

Thank you for the link. I downloaded the app and it started alright. Will have to play with it tomorrow since it is getting late over here in Europe.

Kind regards
Bernd
by bn
Mon Mar 23, 2026 9:51 pm
Forum: Talking LiveCode
Topic: Livecode Community on Apple Silicon
Replies: 33
Views: 5023

Re: Livecode Community on Apple Silicon

Hi Emily-Elizabeth
There is a new DMG on the GitHub release page that has been signed and notarized.
I can not find the "DMG". Could you post a link please?
I assume that "DMG" is the usual way to distribute an app on a Mac. Compiling and code signing is beyond my skills...

Kind regards
Bernd
by bn
Mon Mar 09, 2026 10:29 am
Forum: Talking LiveCode
Topic: Compare versions of Scripts using Diff Library
Replies: 0
Views: 2878

Compare versions of Scripts using Diff Library

When developing I often save the whole stack with an increasing version number. When going back to a previous version it can be hard to detect the differences between two versions. There are probably many solutions out there to tackle this problem. I used the diff library that is included in LC sinc...
by bn
Sat Feb 28, 2026 9:25 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: List or search all handlers in IDE
Replies: 1
Views: 4459

List or search all handlers in IDE

Hi, on the use-list there was a discussion how to find handlers in the IDE. Here is stack that searches all scriptifyed (".livecodescript") scripts in the current version of LC. Andreas and Craig were interested in the topic. Leave search field empty and hit return to get all handler names. Clicking...
by bn
Fri Feb 20, 2026 10:58 am
Forum: Internet
Topic: libURLDownloadToFile issue
Replies: 10
Views: 7141

Re: libURLDownloadToFile issue

Hi Greg,
Did you solve the problem? If so what was the problem?
Kind regards
Bernd
by bn
Thu Feb 19, 2026 12:09 am
Forum: Internet
Topic: libURLDownloadToFile issue
Replies: 10
Views: 7141

Re: libURLDownloadToFile issue

Hi Greg, I tried this on my Mac: command mp.downloadFile put "https://unmixr.s3.amazonaws.com/a/167eb769-a1b9-47ac-b7ae-86ae6e5af3ed.mp3" into tURL put specialFolderPath("desktop") & "/" & "test.mp3" into tFile libURLDownloadToFile tURL, tFile, "DownloadComplete" end mp.downloadFile on DownloadCompl...
by bn
Thu Jan 29, 2026 4:51 pm
Forum: Talking LiveCode
Topic: Why me?
Replies: 10
Views: 6420

Re: Why me?

Craig, Would it be too much to ask you to make a small sample stack that shows how you populate and retrieve the custom properties of the field? And then post this sample stack here? I use custom properties a lot and never ran into issues you describe. It makes me nervous if there are problems lurki...
by bn
Sun Jan 18, 2026 5:54 pm
Forum: Multimedia
Topic: Image Manipulation
Replies: 92
Views: 141012

Re: Image Manipulation

Hi Emily-Elisabeth, I found a slightly newer version of Photo Room that has all the current syntax, no need to look into that. That version is fast enough to process larger images. I would try with roughly 640 by 480 or so. Photo Room caches a version of the current image for undo. After emptying it...
by bn
Sun Jan 18, 2026 4:36 pm
Forum: Multimedia
Topic: Image Manipulation
Replies: 92
Views: 141012

Re: Image Manipulation

Hi Emily-Elisabeth, The latest version of Photo-Room I have is here. Please mind that it was written in a rather old version of Revolution (the former name of Livecode). It works (mostly) but at the time it was written Christopher-Lee Bodell used instead of -> numtochar -> numToByte charToNum -> byt...
by bn
Wed Dec 24, 2025 12:43 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Problem importing Audio File
Replies: 3
Views: 4599

Re: Problem importing Audio File

Hi Lagi, I tried to do an Audio import using 9.6.10 (9.6.9 crashes at startup on my Arm Mac using Sequoia 15.7.2) and it imported an .aiff and .wav file without problem using "select file/import as control/ audio file". The audio file showed up in the Project Browser and it played also. Kind regards...
by bn
Tue Dec 09, 2025 12:01 pm
Forum: Talking LiveCode
Topic: Adventures into matchChunk and regex
Replies: 16
Views: 5146

Adventures into matchChunk and regex

Unfortunately "matchChunk" is not well explained in the dictionary. The task was to break up short texts into 3, 4 or 5 paragraphs. I manged that by counting full stops "." and determine the number of sentences that should make up a paragraph. However the texts could contain decimal numbers and the ...