Search found 4139 matches

by bn
Tue Apr 14, 2026 12:09 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Filter mobile control input
Replies: 6
Views: 1383

Re: Filter mobile control input

Hi Trevix, Using the "inputTextChanged" command seems to be the way to go but I cannot figure out. Maybe you could react to the "inputTextChanged" message to trigger a handler with put mobileControlGet(tControlID, "text") into myText then do your filtering on myText and then mobileControlSet tContro...
by bn
Sat Apr 04, 2026 10:35 am
Forum: Talking LiveCode
Topic: Compare versions of Scripts using Diff Library
Replies: 3
Views: 5823

Re: Compare versions of Scripts using Diff Library

The stack has 2 fields where you put the scripts to compare. You can use the whole scripts with all handlers and put them into their fields ("old" and "new"). If you put two completely different texts the diff can take a long time and you might want to interrupt it with command + ".". The stack does...
by bn
Wed Mar 25, 2026 2:28 pm
Forum: Talking LiveCode
Topic: Adventures into matchChunk and regex
Replies: 16
Views: 10267

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

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

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

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

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

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: 3
Views: 5823

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

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

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

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

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

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

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