Search found 4127 matches

by bn
Thu Jan 29, 2026 4:51 pm
Forum: Talking LiveCode
Topic: Why me?
Replies: 10
Views: 1346

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

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

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

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: 1
Views: 855

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 ...
by bn
Tue Nov 25, 2025 11:31 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Alphabeticising a word list?
Replies: 34
Views: 6665

Re: Alphabeticising a word list?

Here is a version for custom sort that lets you define the alphabet used and which letters take precedence when sorting. It sorts not only the first letter but sorts all letters of a word according to the preferences. Could not test it with old slavonic since I have not access to an old slavonic alp...
by bn
Sun Nov 23, 2025 3:06 pm
Forum: Made With LiveCode
Topic: A Soroban Abacus Demo
Replies: 1
Views: 2290

Re: A Soroban Abacus Demo

Mike,

Thank you. I finally understand what abacus things do.

Kind reagards
Bernd
by bn
Sat Nov 22, 2025 10:13 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Alphabeticising a word list?
Replies: 34
Views: 6665

Re: Alphabeticising a word list?

I suspect that it's going to be something Richmond is trying to generalise for multiple alphabets. sort international might work for many situations but it uses the system locale Devanagari was just an example. The point I was trying to make is that it says that "text" type of sort (implicitely the...
by bn
Fri Nov 21, 2025 10:02 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Alphabeticising a word list?
Replies: 34
Views: 6665

Re: Alphabeticising a word list?

Richmond, from the dictionary entry for sort container: Name: sortType Type: enum Description: If you don't specify a sortType, the sortType is text. • international: sorts by collation according to the system locale • numeric: sorts by number. (Use this form if the sortKey consists of numbers) • da...
by bn
Wed Nov 12, 2025 9:34 am
Forum: Talking LiveCode
Topic: Slot Machine emulation
Replies: 22
Views: 20342

Re: Slot Machine emulation

Thanks Mike, The main trick is to double the number of referenced images in the fields. That way you can simulate a endless scrolling by setting the scroll of the field to show the appropriate image. Also I like the idea of a game loop: all scrollers register with the game loop and the loop triggers...
by bn
Tue Nov 11, 2025 8:16 pm
Forum: Talking LiveCode
Topic: Slot Machine emulation
Replies: 22
Views: 20342

Re: Slot Machine emulation

Hi, Here is something similar to a slot machine I made many years ago. It uses a game loop for animating three scrolling fields. It has a lot of eye candy and features. I had to provide images in 2 zipped folders because of size restrictions. The images are just test images. Put them into 1 folder a...
by bn
Mon Nov 03, 2025 8:52 pm
Forum: Made With LiveCode
Topic: A Procedural Graphics System
Replies: 10
Views: 8827

Re: A Procedural Graphics System

Hi Mike, My apologies for my last stack with revised handlers. The handler for radial gradient was not in the button... (blush) The handler for conical gradient was for a prior versin of the Procedural Graphics System. Now it is adapted to v 1.5.2 (blush) The handler for invert colors was failing on...
by bn
Sun Nov 02, 2025 9:02 pm
Forum: Made With LiveCode
Topic: A Procedural Graphics System
Replies: 10
Views: 8827

Re: A Procedural Graphics System

Mike, unfortunately the handler for "Linear Graphic (Angled)" is missing. Here are my versions based on your versions for the other scripts I have been working on. And a script to invert colors that is extremely fast, just for your interest. Here I was inspired by your Truchet tiles: https://forums....
by bn
Thu Oct 30, 2025 10:30 am
Forum: Feature Proposals
Topic: full text justification
Replies: 17
Views: 43403

Re: full text justification

Mike,

Thank you for posting this.
You might want to have a look at:
viewtopic.php?f=4&t=20513

Kind regards
Bernd
by bn
Wed Oct 29, 2025 6:06 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: How to save a graphic on a card using paint tools
Replies: 21
Views: 13240

Re: How to save a graphic on a card using paint tools

Hi Martin,

I am glad it works for you.
I'm trying to understand what is really happening.
There is nothing really to understand here except that you hit a bug in LC that is now fixed.

Kind regards
Bernd