Search found 2938 matches

by mwieder
Sat Apr 04, 2020 8:42 pm
Forum: Off-Topic
Topic: Quarantine in the life of a LC programmer
Replies: 14
Views: 768

Re: Quarantine in the life of a LC programmer

Mark- I'm not seeing that header. What I get back from the Covid19.countries function starts with [{"Country":"Portugal","Slug":"portugal","ISO2":"PT"} ...and yeah, you're basically on your own to prettify the output. I'd try grabbing the easyjson or fastjson libraries from github, use the library t...
by mwieder
Sun Mar 29, 2020 3:50 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: How to programmatically select list item from value of a custom property
Replies: 8
Views: 310

Re: How to programmatically select list item from value of a custom property

Yay! :D
If you want to get really fancy you could even shorten that to a single line

Code: Select all

set the hilitedLine of field "lstOwner" to lineOffset(the cpOwner of me,field "lstOwner")
by mwieder
Sun Mar 29, 2020 3:15 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: How to programmatically select list item from value of a custom property
Replies: 8
Views: 310

Re: How to programmatically select list item from value of a custom property

Probably the lineOffset function is going to give you the best results.
That will give you a line number which you can then plug into the hilitedLine command.
by mwieder
Fri Mar 27, 2020 4:28 am
Forum: Off-Topic
Topic: Happy 2020!
Replies: 6
Views: 1452

Re: Happy 2020!

Ha! I was just watching Viv Stanshall before reading this.

https://www.youtube.com/watch?v=3hcZ4s9cvpw
by mwieder
Fri Mar 27, 2020 12:51 am
Forum: Feature Proposals
Topic: Replace LiveCode Script with JavaScript, forever
Replies: 48
Views: 4640

Re: Replace LiveCode Script with JavaScript, forever

...and I don't for a second believe the OP's claim that
I've used LiveCode for >5 years, on hundreds of projects
by mwieder
Wed Mar 25, 2020 8:10 pm
Forum: Feature Proposals
Topic: attachment types
Replies: 7
Views: 325

Re: attachment types

by mwieder
Wed Mar 25, 2020 7:58 pm
Forum: Off-Topic
Topic: Quarantine in the life of a LC programmer
Replies: 14
Views: 768

Re: Quarantine in the life of a LC programmer

Here's a quick script-only stack library I threw together to access up-to-date worldwide covid-19 information from Johns Hopkins.
Stay safe out there.
by mwieder
Wed Mar 25, 2020 7:53 pm
Forum: Feature Proposals
Topic: attachment types
Replies: 7
Views: 325

Re: attachment types

thanks - I know I can zip and post, and that's what I'll do, but sheesh.
by mwieder
Wed Mar 25, 2020 7:30 pm
Forum: Feature Proposals
Topic: attachment types
Replies: 7
Views: 325

attachment types

Couldn't find a better place to post this: I tried to post a .livecodescript file as an attachment and got an error message that this wasn't an allowed type. WTF? First of all, what are the allowed types? Second, why isn't .livecodescript on the list? And... what can be done to fix this? InvalidFile...
by mwieder
Tue Mar 24, 2020 9:53 pm
Forum: LiveCode Builder
Topic: How do I deal with Code Blocks?
Replies: 26
Views: 1832

Re: How do I deal with Code Blocks?

Hmmm... could you flush specific messages from the queue rather than brute-forcing it, i.e., leave the callback messages in place?
by mwieder
Tue Mar 24, 2020 1:04 am
Forum: Announcements
Topic: RELEASE LiveCode 9.6.0 DP-3
Replies: 27
Views: 1402

Re: RELEASE LiveCode 9.6.0 DP-3

@LCMark- Yeah, admittedly spaghetti isn't quite the right word. Complex definitely is. Since I've got a vested interest in having a workable browser control on linux I've been diving in to the spa^H^H^Hcomplex intricacies of the LC browser code to see if I can even get a browser control to just inst...
by mwieder
Mon Mar 23, 2020 4:33 pm
Forum: Announcements
Topic: RELEASE LiveCode 9.6.0 DP-3
Replies: 27
Views: 1402

Re: RELEASE LiveCode 9.6.0 DP-3

There's nothing wrong with the third-party CEF library itself. I can build and run CEFsimple here with no problems. It's just the integration of the external library through the spaghetti of the MCBrowserx calls that messes things up.
by mwieder
Sat Mar 21, 2020 4:35 am
Forum: Announcements
Topic: RELEASE LiveCode 9.6.0 DP-3
Replies: 27
Views: 1402

Re: RELEASE LiveCode 9.6.0 DP-3

@FourthWorld- Got a link handy? See... there's my problems with these web forum things. They encourage ephemeral posts to the loss of long-term memory. We just had this discussion a week or so ago. Here's @LCMark's explanation of why we won't be seeing support for modern linux distros in the near fu...
by mwieder
Thu Mar 19, 2020 5:51 pm
Forum: LiveCode Builder
Topic: How do I deal with Code Blocks?
Replies: 26
Views: 1832

Re: How do I deal with Code Blocks?

@Simon- To me the use of blocks and delegates seem to fly in the original concepts of object programming. I had the same reaction when I first encountered the "yield" command in ruby. Took a bit to wrap my brain around it, and suddenly I realized that it's a brilliant way to implement polymorphism. ...

Go to advanced search