Search found 3851 matches

by bn
Thu Feb 22, 2024 2:23 pm
Forum: Talking LiveCode
Topic: Code folding for Livecode 9.6.9 and up
Replies: 41
Views: 3006

Re: Code folding for Livecode 9.6.9 and up

New version of Code Folding Since I did not hear of further possible bugs I upload a new version of Code Folding stack. It has in addition to Stam's report two more bug fixes. The stack now has the option to make the temporary changes to the IDE permanent via a button The stack now also has the opt...
by bn
Tue Feb 20, 2024 10:09 am
Forum: Talking LiveCode
Topic: Code folding for Livecode 9.6.9 and up
Replies: 41
Views: 3006

Re: Code folding for Livecode 9.6.9 and up

Stam, Bernd, just wanted to thank you again -- this has made working on long scripts of hundreds of lines a breeze! I thank you for feedback and all the others that tried Code Folding. I actually found two more small bugs (beside the one you found) and am working on making the installation process a...
by bn
Wed Feb 14, 2024 1:32 pm
Forum: Talking LiveCode
Topic: Code folding for Livecode 9.6.9 and up
Replies: 41
Views: 3006

Re: Code folding for Livecode 9.6.9 and up

Patch for shortcuts problems Hi Bernd, One possible side effect I discovered after making this permanent: On Mac the shortcuts cmd-shift-C for card script and cmd-shift-S for stack script have stopped working... Hi Stam, Thank you for spotting the shortcut problem. Here is a stack that lets you fix...
by bn
Wed Feb 14, 2024 12:46 am
Forum: Talking LiveCode
Topic: Code folding for Livecode 9.6.9 and up
Replies: 41
Views: 3006

Re: Code folding for Livecode 9.6.9 and up

How to Make Code Folding permanent Here is a stack with 1 button that makes the changes to the IDE for Code Folding permanent. On a freshly started LC version supported by the Installer stack install Code Folding. Then use the attached stack to makes the temporary changes permanent by saving the mo...
by bn
Tue Feb 13, 2024 10:36 pm
Forum: Talking LiveCode
Topic: Code folding for Livecode 9.6.9 and up
Replies: 41
Views: 3006

Re: Code folding for Livecode 9.6.9 and up

Craig, If I understand correctly you want to hide chunks of code to get it out of the way. There is a feature at the request of Mike Kerner built-in #< handler handler handler #</ You do not have to place that pair: #< #< / outside of handlers. You can put it on any empty line (because LC thinks it ...
by bn
Tue Feb 13, 2024 1:11 am
Forum: Talking LiveCode
Topic: Code folding for Livecode 9.6.9 and up
Replies: 41
Views: 3006

Re: Code folding for Livecode 9.6.9 and up

Bernd... Dude... this is amazing ;) You're da man! It works exactly as advertised and no crashes or data loss so far. Tested with a long script widget script - hugely helpful. I've been missing this feature since I've started with LiveCode. The team really should have implemented this years ago. I'...
by bn
Mon Feb 12, 2024 10:16 pm
Forum: Talking LiveCode
Topic: Code folding for Livecode 9.6.9 and up
Replies: 41
Views: 3006

Re: Code folding for Livecode 9.6.9 and up

If you installed the patch to your Livecode version then when editing a script the Edit menu is appended by the option to turn code folding off and on on the fly. There are also option to collapse all or unfold all. (including the short cuts to do it via keyboard) Bildschirmfoto 2024-02-12 um 21.50....
by bn
Mon Feb 12, 2024 10:06 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Button press every 3 seconds without freezing?
Replies: 7
Views: 741

Re: Button press every 3 seconds without freezing?

I understand. But couldn't you at least have made it more descriptive? Craig Ok, I am always aiming for baroque titles about half a page long. How about This is the story of a press-down device that executes your wishes that you have put into the device in a language they call 'LiveCode' and that w...
by bn
Mon Feb 12, 2024 9:49 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Button press every 3 seconds without freezing?
Replies: 7
Views: 741

Re: Button press every 3 seconds without freezing?

dunbarx wrote:
Mon Feb 12, 2024 9:46 pm
Bernd.
Sure the name of your demo stack is long enough?
Craig
No, but I ran out of words... :)

Kind regards
Bernd
by bn
Mon Feb 12, 2024 9:12 pm
Forum: Talking LiveCode
Topic: Code folding for Livecode 9.6.9 and up
Replies: 41
Views: 3006

Code folding for Livecode 9.6.9 and up

Dear Livecoder, I post a stack that enables code folding in the (now) current versions of Livecode. Tested from version 9.6.9 to 10.0.0 DP7. partially collapsed_.jpg Your see a collapsed structure marked by a black triangle pointing to the right indicating a collapsed struct and a outlined triangle ...
by bn
Mon Feb 12, 2024 8:54 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Button press every 3 seconds without freezing?
Replies: 7
Views: 741

Re: Button press every 3 seconds without freezing?

Hi DorianReedBased, welcome to the forum. I made a stack that shows one way of preventing a button to fire in less than 3 seconds from the last click. It uses a 'script local variable' to store the time of the last click. Such a variable must be declared outside and above of a handler hat uses it. U...
by bn
Thu Feb 08, 2024 10:30 am
Forum: Games
Topic: Scrolling 1 & 2 Column Movie Credits
Replies: 1
Views: 300

Re: Scrolling 1 & 2 Column Movie Credits

Hi Mike, That looks very nice and runs smoothly. I added a fade to the top fields before deleting them to handler "startScroll" of card 1 on startScroll local tNumFields, i, tFieldBottom, tScrollSpeed local tBottomTop put the bottom of button "Scrolling Credits - 1 Column" into tBottomTop repeat whi...
by bn
Wed Jan 31, 2024 10:00 am
Forum: Made With LiveCode
Topic: Couch Commander - a custom HTPC set-top box using LiveCode
Replies: 9
Views: 1174

Re: Couch Commander - a custom HTPC set-top box using LiveCode

Thanks Derek,

That looks amazing.
(unfortunately I hardly watch any TV...)
I especially liked the "Devo" part. I saw them once live in Berlin 1978. I still like them.

Kind regards
Bernd
by bn
Tue Jan 30, 2024 11:23 pm
Forum: HTML5
Topic: Why won't my very simple stack work in HTML5?
Replies: 37
Views: 3646

Re: Why won't my very simple stack work in HTML5?

Marc,

If you look at your stack using the Project Browser you will see stack "revMacCursors" attached as a substack. Remove that stack and it should be fine.

Kind regards
Bernd
by bn
Tue Jan 30, 2024 11:03 pm
Forum: HTML5
Topic: Why won't my very simple stack work in HTML5?
Replies: 37
Views: 3646

Re: Why won't my very simple stack work in HTML5?

Hi Marc, I tried your html-stack and that works. As far as inclusions conflicts are concerned I hear of those conflicts but then I do not build many standalones. Maybe you could zip your small stack that shows the confilicts, upload it here from the "Attachment" option and we can try to reproduce th...

Go to advanced search