Search found 6850 matches
- Thu Feb 08, 2024 9:01 pm
- Forum: Talking LiveCode
- Topic: I am far too bold
- Replies: 26
- Views: 2955
Re: I am far too bold
When you said a script worked but not the inspector, what was the command you used? Text styles have a hierarchy similar to messages. You probably know that, but for others: The style of the mainstack The style of a substack(s) if any The style of a field The style of the text, or a selection of the...
- 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: 5860
Re: Close the stack and don't ask me to save changes...
Feel free to complain here, maybe they'll notice:
https://quality.livecode.com/show_bug.cgi?id=22790
- Tue Feb 06, 2024 6:11 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: getting filenames
- Replies: 10
- Views: 1663
Re: getting filenames
It's stored in the htmltext of the field.
- Tue Feb 06, 2024 6:09 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Livecode shortcuts not working.
- Replies: 9
- Views: 1197
- 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: 5860
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: 4739
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: 2955
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: 1663
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: 2955
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: 1197
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: 60098
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: 1349
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: 1389
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: 1349
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: 5060
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.