Search found 524 matches

by AndyP
Sat Apr 03, 2021 4:25 pm
Forum: Talking LiveCode
Topic: Sudo Behaviors, wise or not?
Replies: 9
Views: 655

Re: Sudo Behaviors, wise or not?

Also a self taught programmer (it shows!) and I have picked up lots of bad or non-standard habits I'm sure. but, I think that is one of the unsung strengths of LiveCode, it's not overly strict and fairly forgiving, much like my self, so my boys would tell me :lol: so many destinations can be reached...
by AndyP
Sat Apr 03, 2021 12:08 pm
Forum: Talking LiveCode
Topic: Sudo Behaviors, wise or not?
Replies: 9
Views: 655

Re: Sudo Behaviors, wise or not?

what i mean instead of having a stack for all the buttons. Using the idea from your example you will have three stacks, one for each button. script "buttonTypeAnswerBeh" on mouseUp answer the name of me end mouseUp or create a behavior stack for the cards script "CardTypeAnswerBeh" on mouseUp if th...
by AndyP
Fri Apr 02, 2021 5:06 pm
Forum: Talking LiveCode
Topic: Sudo Behaviors, wise or not?
Replies: 9
Views: 655

Re: Sudo Behaviors, wise or not?

Hi Klaus Hi Andy, So what do you think? Can you see any pitfalls or problems I might be building for the future? oh, yes! NEVER EVER name your objects as numbers? NEVER ! Never would in the real world, but it was quick and easy just for the example 8), should have seen the hand slapping coming for t...
by AndyP
Fri Apr 02, 2021 4:43 pm
Forum: Talking LiveCode
Topic: Sudo Behaviors, wise or not?
Replies: 9
Views: 655

Sudo Behaviors, wise or not?

Behaviors are great but, if I have a project with lots of controls I end up with lots of separate behavior scripts and this can get a bit messy, so instead of behaviors I've started using script only stacks where I check for the target and the owner of the target. This allows multiple control script...
by AndyP
Wed Mar 17, 2021 3:24 pm
Forum: Announcements
Topic: [ANN] New Book: Development Oriented Development
Replies: 5
Views: 433

Re: [ANN] New Book: Development Oriented Development

Just a heads up.

The link to the Web Literacy Program in the About the Author section, does not resolve, custom 404 error
by AndyP
Wed Mar 17, 2021 12:18 pm
Forum: Announcements
Topic: [ANN] New Book: Development Oriented Development
Replies: 5
Views: 433

Re: [ANN] New Book: Development Oriented Development

Hi Andy, I hope you like the book, but I have a firm impression that nothing that I mention there is new to you. :-) There is a brief case study about TinyIDE in it. :-) Ha, you would be amazed about how much I do not know! For me it's usually the case of' I'm going to do this..hmm how do I do this...
by AndyP
Wed Mar 17, 2021 9:59 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Webcam capture in livecode
Replies: 15
Views: 1429

Re: Webcam capture in livecode

I noticed in the milestones that support for Web RTC is being added for 9.6.3-rc-1

https://github.com/livecode/livecode/mi ... 9?closed=1

Scroll down to the 4th enhancement listing [[ Bug 23030 ]] Enable WebRTC on CEF browse

https://webrtc.org/

So maybe one to watch?
by AndyP
Wed Mar 17, 2021 9:16 am
Forum: Announcements
Topic: [ANN] New Book: Development Oriented Development
Replies: 5
Views: 433

Re: [ANN] New Book: Development Oriented Development

Hi Andre,

I purchased directly I saw your post!
Looking forward to digesting (later today) the very different topic..intrigued.
by AndyP
Fri Mar 05, 2021 1:29 pm
Forum: Talking LiveCode
Topic: Stung by the Message Path! Lessons learnt..
Replies: 12
Views: 861

Re: Stung by the Message Path! Lessons learnt..

All I needed to do was to check in the preOpenStack handler of the Main stack that the perOpenStack handler was initialized from the Main stack While I know I've been stung in the past the same way, I'm curious about something here Andy, why not just stick the openStack and preOpenStack code into t...
by AndyP
Fri Mar 05, 2021 1:14 pm
Forum: Talking LiveCode
Topic: Stung by the Message Path! Lessons learnt..
Replies: 12
Views: 861

Stung by the Message Path! Lessons learnt..

So I was working on a project which had a main stack and a number of sub stacks, all was working well and then.. bam! my main stack re-initialized all my base settings again..WHAT! After cursing LiveCode for a while and trying to glue what hair I still have left back into place, it was time to find ...
by AndyP
Fri Feb 05, 2021 11:10 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: The selectedLine...
Replies: 15
Views: 1460

Re: The selectedLine...

Try

Code: Select all

put word -1 of the text of the selectedLine into myLine
the text being what you are missing
by AndyP
Tue Feb 02, 2021 5:39 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: API not working in a standalone
Replies: 8
Views: 874

Re: API not working in a standalone

Hi Glen, I tried the sample stack from Richard in the linked forum post, and selectively tried what inclusions were required to get it running. Try these as your base inclusions JSON Library Internet mergJSON If any of these were not included the generated exe would not function correctly. Let us kn...
by AndyP
Mon Jan 18, 2021 10:31 am
Forum: Mac OS
Topic: Big Sur?
Replies: 61
Views: 7783

Re: Big Sur?

I've seen something similar to this on Win 10 as well, so I don't think its tied to Big Sur. What happens is I do a right click to bring up the context menu in the Project Browser and the highlighted line jumps up one line and this then has focus as the object/card/stack for the context menu. Closin...
by AndyP
Fri Jan 15, 2021 10:52 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Using Deutsche Bahn departure board APIs
Replies: 6
Views: 869

Re: Using Deutsche Bahn departure board APIs

Hi Glen, I've just played around with this api and its nice and easy to use So I started with https://api.deutschebahn.com/freeplan/v1/location/frank to get the station id for Frankfurt Hessen which returned this [ { "name": "Frankfurt(Main)Hbf", "lon": 8.663785, "lat": 50.107149, "id": 8000105 }, {...
by AndyP
Wed Jan 13, 2021 12:03 pm
Forum: Announcements
Topic: New entry added to 1001 things to do with LiveCode - EchidnaCSI
Replies: 2
Views: 798

Re: New entry added to 1001 things to do with LiveCode - EchidnaCSI

richmond62 wrote:
Wed Jan 13, 2021 10:45 am
I wonder if it might not be a bad idea if, every time there is a new entry added
to announce it in one thread rather than separate threads for each addition?
Agree, probably better. I'm was getting a little bit too excited about getting new submissions :lol:

Go to advanced search