Search found 4144 matches

by bn
Thu Jun 11, 2026 8:36 pm
Forum: Talking LiveCode
Topic: Transferring variables between AppleScript and LiveCode
Replies: 8
Views: 3095

Re: Transferring variables between AppleScript and LiveCode

Is it possible the OP is talking about the form "do as AppleScript", and wants some data to return to LC?
I think right now it is best to let the original poster explain in more detail what he wants.

KInd regards
Bernd
by bn
Thu Jun 11, 2026 10:49 am
Forum: Talking LiveCode
Topic: Transferring variables between AppleScript and LiveCode
Replies: 8
Views: 3095

Re: Transferring variables between AppleScript and LiveCode

Hi Stam,

I am not sure what the OP has in mind either.
I figured the OP has a Livecode thing running that uses the parameter from "service menu applescript" outside of LC to process it in a Livecode stack.
That is what the example shows. The AScript would be integrated in the external process.
I ...
by bn
Thu Jun 11, 2026 10:03 am
Forum: Talking LiveCode
Topic: Box2D physics (revisited)
Replies: 10
Views: 2537

Re: Box2D physics (revisited)

The video in youtube looks very impressive. Thank you.

Kind regards
Bernd
by bn
Thu Jun 11, 2026 9:59 am
Forum: Talking LiveCode
Topic: Transferring variables between AppleScript and LiveCode
Replies: 8
Views: 3095

Re: Transferring variables between AppleScript and LiveCode

hi sipsuper,

Long ago I did some inter application communication using AppleScript. LC's AppleScript support is limited. Digging in my old AS scripts I adapted one to what I think is similar to what you have in mind.
The AppleScript script: (use apple script's ScriptEditor to trigger the AS script ...
by bn
Thu Apr 23, 2026 10:38 am
Forum: Talking LiveCode
Topic: customKeys and recalling the data in a key
Replies: 8
Views: 12169

Re: customKeys and recalling the data in a key

I was intrigued by this thread because I am always a bit confused by addressing the custom properties.
@Paul
You could simplify the script of button to:

on menuPick itemPicked
put the itemPicked of me into field "testTekst"
end menuPick


Your first attempt did not work because you were ...
by bn
Tue Apr 14, 2026 12:09 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Filter mobile control input
Replies: 6
Views: 9462

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 ...
by bn
Sat Apr 04, 2026 10:35 am
Forum: Talking LiveCode
Topic: Compare versions of Scripts using Diff Library
Replies: 3
Views: 12775

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

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

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 ...
by bn
Wed Mar 25, 2026 10:47 am
Forum: Talking LiveCode
Topic: Adventures into matchChunk and regex
Replies: 16
Views: 21455

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

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 ...
by bn
Mon Mar 23, 2026 11:52 pm
Forum: Talking LiveCode
Topic: Livecode Community on Apple Silicon
Replies: 33
Views: 32756

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

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

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

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