Search found 6849 matches

by jacque
Tue Feb 06, 2024 6:56 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Close the stack and don't ask me to save changes...
Replies: 31
Views: 5408

Re: Close the stack and don't ask me to save changes...

Zax wrote:
Tue Feb 06, 2024 9:36 am
Concerning the "autoFocus" on first editable field when opening a card, it's very annoying since years. It should be a stack property in order to choose its behavior.
Feel free to complain here, maybe they'll notice:
https://quality.livecode.com/show_bug.cgi?id=22790
by jacque
Tue Feb 06, 2024 6:11 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: getting filenames
Replies: 10
Views: 1539

Re: getting filenames

It's stored in the htmltext of the field.
by jacque
Tue Feb 06, 2024 6:09 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Livecode shortcuts not working.
Replies: 9
Views: 1098

Re: Livecode shortcuts not working.

CAsba wrote:
Tue Feb 06, 2024 2:00 pm
Hi Jacque,
Sorry, I'm afraid I just didn't understand your question. I should explain that I really AM a complete beginner!
Klaus came to the rescue.🙂
by jacque
Mon Feb 05, 2024 6:56 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Close the stack and don't ask me to save changes...
Replies: 31
Views: 5408

Re: Close the stack and don't ask me to save changes...

LC sets a flag on a stack whenever any change happens, and if it's true then you get the dialog. The problem is that LC automatically places the insertion point in the first unlocked field when the card opens and that counts as a change whether you type anything or not. I submitted a bug report requ...
by jacque
Fri Feb 02, 2024 6:02 am
Forum: HTML5
Topic: Why won't my very simple stack work in HTML5?
Replies: 37
Views: 4275

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

I would also like to know what a "command" is, versus a "function" - I have not written this type of structure before. How does it differ from a "function"? Marc This may help: https://hyperactivesw.com/resources/#1690975538666-b0790d43-fedb The difference is explained near the end of the text.
by jacque
Thu Feb 01, 2024 10:21 pm
Forum: Talking LiveCode
Topic: I am far too bold
Replies: 26
Views: 2608

Re: I am far too bold

It sounds like you may have accidentally set the mainstack's text to bold. All fields everywhere will inherit that setting, including substacks, if their own text properties aren't set. It's kind of easy to accidentally trigger the stack PI if you click out of a control while its own PI is open.
by jacque
Thu Feb 01, 2024 10:11 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: getting filenames
Replies: 10
Views: 1539

Re: getting filenames

Here's a way to show the short file name in the list, while storing the file path invisibly using the metadata property. Metadata and linktext are similar, but linktext will underline the text, while metadata is completely invisible to the user. Sample stack enclosed. The main action is in the card,...
by jacque
Wed Jan 31, 2024 6:56 pm
Forum: Talking LiveCode
Topic: I am far too bold
Replies: 26
Views: 2608

Re: I am far too bold

It may be that the text (characters) style is set rather than the field properties. Character styles override field properties.
by jacque
Wed Jan 31, 2024 6:50 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Livecode shortcuts not working.
Replies: 9
Views: 1098

Re: Livecode shortcuts not working.

Did you pass the key handlers if they didn't match the keystrokes you were interested in capturing? If not, that would explain why they failed.
by jacque
Sun Jan 28, 2024 6:35 pm
Forum: Off-Topic
Topic: LiveCode and HyperStudio
Replies: 29
Views: 59722

Re: LiveCode and HyperStudio

I suspect that was a feature of OS 9. The HC team had access to the system source code as well.
by jacque
Mon Jan 22, 2024 11:45 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: systemMetrics
Replies: 7
Views: 1287

Re: systemMetrics

If anyone is interested, here's a link to a Google Docs copy of my chat with Bard: https://docs.google.com/document/d/1SpMQ5ZO72H6bfDZYlrUKiPsrMhKDYFTdF4FgtJy_2_0/edit?usp=sharing My prompts are in bold. You'll notice it hallucinated a "getAllControls" function which doesn't exist in LC -- but it kn...
by jacque
Mon Jan 22, 2024 7:37 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Setting the defaultfolder on the fly
Replies: 9
Views: 1352

Re: Setting the defaultfolder on the fly

Courtesy of NightCafe. I'm not very good at this yet.
by jacque
Mon Jan 22, 2024 7:10 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: systemMetrics
Replies: 7
Views: 1287

Re: systemMetrics

ChatGPT has been trained in Python and Javascript, if I remember right (or maybe that's Bard?) but LC is obscure enough it isn't in line for formal training by its makers. That's why I decided to see if it could learn from me. It was kind of fun actually. The thing caught on pretty fast.
by jacque
Sun Jan 21, 2024 7:30 pm
Forum: LiveCode Builder
Topic: LiveCode Builder Foreign Function Interface for Beginners
Replies: 12
Views: 4099

Re: LiveCode Builder Foreign Function Interface for Beginners

LCB is a more x-talk way to write LC externals and thus is linked exclusively to LC. It can't be used to write independent programs.
by jacque
Sun Jan 21, 2024 7:16 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: systemMetrics
Replies: 7
Views: 1287

Re: systemMetrics

This is an example of hallucination, the tendency of chat bots to make up false information. I was playing with Google Bard which did the same thing. I corrected it through various interactions until it learned the language. At the end it thanked me for teaching it and said I obviously was fluent in...

Go to advanced search