Search found 158 matches
- Mon Feb 08, 2021 11:36 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Random numbers with no duplicates
- Replies: 7
- Views: 539
Re: Random numbers with no duplicates
Please note that the sort random method also works with letters or words or y sort of items that you can put in a list. In one stack I have a bunch of points (integer pairs) and in another I have grid references (G1,R4,Z10) and I use the sort list random(1000) method to mix things up without dupes. ...
- Sat Feb 06, 2021 12:31 am
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: Mouse trap
- Replies: 7
- Views: 481
Re: Mouse trap
It was late at night is my only defense!
He got the idea anyway.
He got the idea anyway.
- Fri Feb 05, 2021 6:17 am
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: Mouse trap
- Replies: 7
- Views: 481
Re: Mouse trap
Set a flag variable so that it plays once, then ignores the ‘play’ message. Use the idle message or mouseMove message to refresh the flag so that when they go within later, they will get the sound played once more. Was the mouseOver message coming from being over a button or a graphic? What object w...
- Fri Feb 05, 2021 5:26 am
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: Mouse trap
- Replies: 7
- Views: 481
Re: Mouse trap
Maybe you could try mouseWithin?
- Mon Feb 01, 2021 3:59 am
- Forum: Talking LiveCode
- Topic: Fun With APNG & LC
- Replies: 23
- Views: 1854
Re: Fun With APNG & LC
You’re working in binary file, so what do those bytes mean when interpreted as a decimal integer?
- Thu Jan 28, 2021 7:11 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Problems with calling wikipedia API
- Replies: 20
- Views: 2098
Re: Problems with calling wikipedia API
May I suggest a tablet as upgraded equipment for the breakfast table? 

- Wed Jan 20, 2021 1:11 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: File Size For Project With Only One Button Is Too Big
- Replies: 12
- Views: 1249
Re: File Size For Project With Only One Button Is Too Big
The file size is that big because the Livecode engine is embedded in the stand alone. The minimum size is that 16 MB, but it will only grow very slowly as the code increases. If you had lots of graphics or videos inside the app, it will grow quickly again. But the actual code and vector based UI ele...
- Wed Jan 20, 2021 1:02 am
- Forum: Talking LiveCode
- Topic: ImageData question
- Replies: 13
- Views: 866
Re: ImageData question
If the aliens can compress secret technology into 40 bytes of information or ten pixels, then we had better start bowing to a superior race!
- Tue Jan 19, 2021 7:55 pm
- Forum: Talking LiveCode
- Topic: ImageData question
- Replies: 13
- Views: 866
Re: ImageData question
For example, the numeric value of the red, green and blue channels respectively for the tenth pixel are given by the expressions: charToNum(char (4 * 9 + 2 of the imageData of image <image>) charToNum(char (4 * 9 + 3 of the imageData of image <image>) charToNum(char (4 * 9 + 4 of the imageData of i...
- Sat Jan 16, 2021 2:12 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Distorted view of fields in Android Device
- Replies: 5
- Views: 913
Re: Distorted view of fields in Android Device
To increase the size of the stack on your computer, you can use scaleFactor. It will scale things up on your screen but will not affect it on your device when you build a standalone. -- Preview the stack appearance on a high-density display set the scaleFactor of stack "myApp" to 1.5 Just type the c...
- Tue Jan 12, 2021 7:46 pm
- Forum: Mac OS
- Topic: mobileStoreEnablePurchaseUpdates with Mac OS
- Replies: 4
- Views: 527
Re: mobileStoreEnablePurchaseUpdates with Mac OS
Tom Glod on the mail list pointed out this lesson: https://lessons.livecode.com/m/4069/l/186807-how-do-i-implement-in-app-purchases-in-livecode-apple-appstore I don't know if this still works on the Apple developer side, but it might be worth a try. EDIT: Looked a little deeper into the lesson, and ...
- Wed Dec 30, 2020 3:20 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Copying scripts to text file
- Replies: 18
- Views: 2460
Re: Copying scripts to text file
Thanks KD, and hello to a fellow Canadian. This sounds a bit more involved than I was hoping for, but, also sounds like a good opportunity to get my feet wet with Git for the old version control. Currently on folder 111 for this program 😊 ScriptTracker is very simple and does NOT require you to use...
- Mon Dec 28, 2020 7:00 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Copying scripts to text file
- Replies: 18
- Views: 2460
Re: Copying scripts to text file
Script Tracker by Brian Milby on the forum here takes all of the scripts from any stack and puts them in text files so that you can use Git or whatever to track them or edit them externally. An essential piece of software for me.
https://github.com/bwmilby/scriptTracker
Thanks again Brian!
https://github.com/bwmilby/scriptTracker
Thanks again Brian!
- Thu Dec 17, 2020 9:38 pm
- Forum: LiveCode University
- Topic: Is LiveCode University Course same as livecode.byu.edu
- Replies: 5
- Views: 2494
Re: Is LiveCode University Course same as livecode.byu.edu
Please will I be able to download the videos or I would have to stream them online. I just finished LiveCode University as part of my lockdown sanity maintenance program and there were no videos. The courses are contained within a separate app that you run, and the course checks back with BYU to se...
- Wed Dec 16, 2020 7:56 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Pushing a button from somewhere else
- Replies: 6
- Views: 720
Re: Pushing a button from somewhere else
Should be as simple as: send "mouseDown" to button "button2" Try that... or you could create a command "soSomething" on the card or stack level and then have this script in each of the buttons: on mouseDown doSomething end mouseDown Copying the code is for beginners. You bloat your code, leave two p...