Search found 3140 matches

by stam
Sun Nov 23, 2025 7:55 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Alphabeticising a word list?
Replies: 32
Views: 1265

Re: Alphabeticising a word list?

A unique, non-generalisable sorting algorithm????? And you thought that others may not benefit from this - because I guess no one has the ability extrapolate to from your unique invention to other situations… Because we only post generalisable code here of course… right, gotcha… This is genuinely th...
by stam
Sun Nov 23, 2025 7:08 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Alphabeticising a word list?
Replies: 32
Views: 1265

Re: Alphabeticising a word list?

richmond62 wrote:
Sun Nov 23, 2025 4:00 pm
I worked out a comparatively sensible way of doing this without using 'sort' at all and have posted it elsewhere.
OK… but why not post here as well to complete the question you raised here?
by stam
Fri Nov 21, 2025 9:20 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Sloping off
Replies: 3
Views: 238

Re: Sloping off

dunbarx wrote:
Fri Nov 21, 2025 9:18 pm
What is a "slope class"? FontStyles are things like Plain" and "Bold".
Google is your friend.
But if you can't be bothered see my previous response.
by stam
Fri Nov 21, 2025 9:16 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Sloping off
Replies: 3
Views: 238

Re: Sloping off

fontstyles does NOT yield a font style, it yields the font's slope class. To be pedantic (as no much is happening any more on this forum), two comments: Why is this a post Incorrect Slope class refers to a font's degree of slant , which is typically categorised as normal (upright), italic, or obliq...
by stam
Fri Nov 21, 2025 9:01 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Alphabeticising a word list?
Replies: 32
Views: 1265

Re: Alphabeticising a word list?

I'd offer an opinion but I can't say I'm certain I understand what Richmond's ask actually is? Sort the words? Sort the words by more than the first char? Sort the letters within each word? Sort all the letters of the text into char-soup? The question that immediately follows is why . Not being face...
by stam
Wed Nov 19, 2025 11:27 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: LiveCode Indy 9.0.5 can't be opened
Replies: 5
Views: 847

Re: LiveCode Indy 9.0.5 can't be opened

Hello, I have a license for an older version of LiveCode Indy 9.0.5, which I’m trying to install on a MacBook Air running macOS Monterey 12.6. After installation, when I try to launch LiveCode, I receive the message: “LiveCode Indy 9.0.9 can’t be opened because Apple cannot check it for malicious s...
by stam
Sat Nov 08, 2025 3:00 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Foot notes in exported documents?
Replies: 30
Views: 3778

Re: Foot notes in exported documents?

I've not tested, but how about manipulating the htmlText of the field and then exporting to RTF?

I would imagine it's possible to lock screen, add a line at the end, style it with html, export it, delete the last line and unlock screen or some such.
by stam
Sat Oct 25, 2025 11:10 am
Forum: Talking LiveCode
Topic: MQTT 3.1.1 in pure LCscript
Replies: 6
Views: 1921

Re: MQTT 3.1.1 in pure LCscript

Yeah, I guess the part I don't quite get is open persistent bidirectional connection. I draw parallels from app-level pub/sub (eg https://github.com/stam66/skPubSub - but this lightweight implementation does not ensure message is received or store a last will and testament etc. I suppose this can't ...
by stam
Fri Oct 24, 2025 10:00 pm
Forum: Talking LiveCode
Topic: MQTT 3.1.1 in pure LCscript
Replies: 6
Views: 1921

Re: MQTT 3.1.1 in pure LCscript

Interesting... out of curiosity, what would you be using this for?
Looking at the MQTT protocol it seems like fairly standard publish/subscribe but over the net, and perhaps unnecessarily over-complicated.
Are you implementing the full MQTT spec? how are you deploying this with LiveCode if I may ask?
by stam
Fri Oct 24, 2025 9:06 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: adding a widget to card using LC script
Replies: 9
Views: 2565

Re: adding a widget to card using LC script

Hi Mark, the error you describe is likely because you should be defining the rect of the stack rather than the card. from what I am seeing I'm guessing you can't create UI elements using a script-only stack? Or, if I'm wrong, what is the "proper" way to go about it. No, I don't think that's right. I...
by stam
Fri Oct 24, 2025 10:49 am
Forum: Talking LiveCode
Topic: Truchet Pattern Generator
Replies: 9
Views: 1899

Re: Truchet Pattern Generator

That looks cool, reminds me of the late 80s/early 90s when tiling your desktop was a thing ;)
by stam
Fri Oct 24, 2025 8:10 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: adding a widget to card using LC script
Replies: 9
Views: 2565

Re: adding a widget to card using LC script

Hi, this is really a 2 part question. Part 1. I am building a stack using primarily livecode script to place objects. I've am wondering if there is a guide to doing this kind of work lying around (and if not, I suppose I should think of creating one). Part 2. How can I add a widget (in this case a ...
by stam
Tue Oct 21, 2025 8:50 am
Forum: Raspberry Pi
Topic: Old question
Replies: 4
Views: 4059

Re: Old question

Thanks @SparkOut, I will drop the project and will "learn" Python. Alternatively if you are looking for a visual IDE, you could look into Xojo. Their Linux offering used to be free or low cost, but they recently had price hikes like everyone else and not sure how that’s affected their offering, but...
by stam
Sat Oct 18, 2025 11:10 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: See text returned from a tsNetCustom TCP call
Replies: 3
Views: 2149

Re: See text returned from a tsNetCustom TCP call

When I issue a TCP call using tsNetCustom, the server sends a response as text. How can I put the returned text into a variable so it can be shown either as an "answer" (dialog box) or set as the text of a display field? I'm not familiar with tsNetCustom, but looking the documentation: The tsNetCus...
by stam
Sat Oct 18, 2025 11:53 am
Forum: Databases
Topic: Question about mySQL running on a remote server not returning all data
Replies: 4
Views: 4894

Re: Question about mySQL running on a remote server not returning all data

Connecting to a hosted MySQL database is tricky because a direct connection, such s what you would do from your development machine, is discouraged for security reasons. I believe it is possible, if discouraged, to whitelist specific IP addresses, but if your IP changes that all breaks. The usual re...