Search found 200 matches

by kdjanz
Tue Mar 02, 2021 11:34 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Saving Field Text in a Standalone
Replies: 4
Views: 5231

Re: Saving Field Text in a Standalone

Could you do this with a text data file instead of a stack? If you need to save binary data, can you put it into an array and encode it before saving to disk? If you must save a preferences stack, all you need to do is open a new stack (call it Prefs). Add a field or some other object to hold the in...
by kdjanz
Tue Mar 02, 2021 11:14 pm
Forum: Talking LiveCode
Topic: Native field with focus and no keyboard
Replies: 13
Views: 4720

Re: Native field with focus and no keyboard

I don’t do Android, but I seem to remember seeing on the forums something like

Code: Select all

Focus on nothing
To deactivate the field and make the keyboard disappear.

Only a vague memory but hope it helps.
by kdjanz
Fri Feb 26, 2021 9:47 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: what does myarray ["this stuff"] stands for ?
Replies: 31
Views: 9358

Re: what does myarray ["this stuff"] stands for ?

Charter member of the Elanor fan club here too!
by kdjanz
Mon Feb 08, 2021 11:36 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Random numbers with no duplicates
Replies: 7
Views: 3662

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. ...
by kdjanz
Sat Feb 06, 2021 12:31 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Mouse trap
Replies: 7
Views: 3395

Re: Mouse trap

It was late at night is my only defense!

He got the idea anyway.
by kdjanz
Fri Feb 05, 2021 6:17 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Mouse trap
Replies: 7
Views: 3395

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...
by kdjanz
Fri Feb 05, 2021 5:26 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Mouse trap
Replies: 7
Views: 3395

Re: Mouse trap

Maybe you could try mouseWithin?
by kdjanz
Mon Feb 01, 2021 3:59 am
Forum: Talking LiveCode
Topic: Fun With APNG & LC
Replies: 23
Views: 11294

Re: Fun With APNG & LC

You’re working in binary file, so what do those bytes mean when interpreted as a decimal integer?
by kdjanz
Thu Jan 28, 2021 7:11 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Problems with calling wikipedia API
Replies: 20
Views: 9056

Re: Problems with calling wikipedia API

May I suggest a tablet as upgraded equipment for the breakfast table? :P
by kdjanz
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: 5312

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...
by kdjanz
Wed Jan 20, 2021 1:02 am
Forum: Talking LiveCode
Topic: ImageData question
Replies: 13
Views: 4768

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!
by kdjanz
Tue Jan 19, 2021 7:55 pm
Forum: Talking LiveCode
Topic: ImageData question
Replies: 13
Views: 4768

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...
by kdjanz
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: 2996

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...
by kdjanz
Tue Jan 12, 2021 7:46 pm
Forum: Mac OS
Topic: mobileStoreEnablePurchaseUpdates with Mac OS
Replies: 4
Views: 4179

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 ...
by kdjanz
Wed Dec 30, 2020 3:20 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Copying scripts to text file
Replies: 18
Views: 8559

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...

Go to advanced search