Search found 6831 matches
- 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: 4955
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...
- Fri Feb 02, 2024 6:02 am
- Forum: HTML5
- Topic: Why won't my very simple stack work in HTML5?
- Replies: 37
- Views: 3795
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.
- Thu Feb 01, 2024 10:21 pm
- Forum: Talking LiveCode
- Topic: I am far too bold
- Replies: 26
- Views: 2262
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.
- Thu Feb 01, 2024 10:11 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: getting filenames
- Replies: 10
- Views: 1392
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,...
- Wed Jan 31, 2024 6:56 pm
- Forum: Talking LiveCode
- Topic: I am far too bold
- Replies: 26
- Views: 2262
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.
- Wed Jan 31, 2024 6:50 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Livecode shortcuts not working.
- Replies: 9
- Views: 944
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.
- Sun Jan 28, 2024 6:35 pm
- Forum: Off-Topic
- Topic: LiveCode and HyperStudio
- Replies: 29
- Views: 57918
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.
- Mon Jan 22, 2024 11:45 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: systemMetrics
- Replies: 7
- Views: 1179
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...
- Mon Jan 22, 2024 7:37 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Setting the defaultfolder on the fly
- Replies: 9
- Views: 1247
Re: Setting the defaultfolder on the fly
Courtesy of NightCafe. I'm not very good at this yet.
- Mon Jan 22, 2024 7:10 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: systemMetrics
- Replies: 7
- Views: 1179
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.
- Sun Jan 21, 2024 7:30 pm
- Forum: LiveCode Builder
- Topic: LiveCode Builder Foreign Function Interface for Beginners
- Replies: 12
- Views: 3324
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.
- Sun Jan 21, 2024 7:16 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: systemMetrics
- Replies: 7
- Views: 1179
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...
- Sun Jan 21, 2024 7:01 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Setting the defaultfolder on the fly
- Replies: 9
- Views: 1247
Re: Setting the defaultfolder on the fly
@olddummy: you can turn off the backdrop permanently in the View menu.
@stam: that's what happens when use LC for long enough. All your variables start wearing kilts. Just wait until they start playing bagpipes.I kilter it
- Mon Jan 08, 2024 7:23 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Stack allready in memory
- Replies: 35
- Views: 2387864
Re: Stack allready in memory
The error dialog usually contains the name of the duplicate stack, which would help. Often it's the ask/answer dialogs if the stack has previously been built as a standalone.
- Sat Jan 06, 2024 6:47 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Stack allready in memory
- Replies: 35
- Views: 2387864
Re: Stack allready in memory
Just curious, what was the name of the duplicate stack in the error dialog?