Search found 66 matches

by mimu
Wed Dec 06, 2023 8:39 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: multiline field Polylist Tabs?
Replies: 2
Views: 2497

multiline field Polylist Tabs?

is it possible to define tab positions in a multiline field of polyList?

is it possible to define different font-colors for the lines of a multiline field in polyList?
by mimu
Tue May 03, 2022 12:22 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Encrypt all files in the "Documents" folder
Replies: 21
Views: 4934

Re: Encrypt all files in the "Documents" folder

the result of the encrypt command is inside the it variable! on mouseUp local XYZ,tencrypted answer file "Choose an RTF file to import" if the result = "cancel" then exit mouseUp else put URL ("binfile:" & it) into XYZ encrypt XYZ using "aes-256-cbc" with password "richmond62" put it into tencrypted...
by mimu
Wed Nov 04, 2020 3:02 pm
Forum: Talking LiveCode
Topic: ArrayToJSON(tdata)
Replies: 1
Views: 2709

ArrayToJSON(tdata)

I have an livecode array which has to be converted to json, see attachments. If i use: put ArrayToJSON(tdata,"string") into tdata then everything in json is of type string (first Attachment) If i use put ArrayToJSON(tdata) into tdata then numbers are of type Int32 or Double (second Attachment), This...
by mimu
Wed Oct 14, 2020 7:42 pm
Forum: Talking LiveCode
Topic: Broadcast to all stacks?
Replies: 11
Views: 5514

Re: Broadcast to all stacks?

Hi axwald,

for me it sounds as if you are talking about the publish/subscribe pattern.

Andre Garzia has put together a simple lib for this, its called:
aagPubSubLib

Usage is explained in his book "LiveCode Advanced Application Architecture"
You can get it here:
https://andregarzia.com/livecode/
by mimu
Sun Oct 04, 2020 9:05 pm
Forum: iOS Deployment
Topic: IOS Files App Folder
Replies: 9
Views: 6583

Re: IOS Files App Folder

Your file should have a file extension!
Like .txt or .xml or .csv at the end of the filename
by mimu
Sat Oct 03, 2020 7:45 am
Forum: iOS Deployment
Topic: IOS Files App Folder
Replies: 9
Views: 6583

Re: IOS Files App Folder

Have you tried to name your file something like testfile.txt?
by mimu
Fri Oct 02, 2020 10:57 pm
Forum: Android Deployment
Topic: libUrlMultipartFormData on android error
Replies: 10
Views: 6922

Re: libUrlMultipartFormData on android error

Here you will find how multipart form-urlencoded data is structured: https://dev.to/getd/x-www-form-urlencoded-or-form-data-explained-in-2-mins-5hk6 i' ve attached a samplestack to upload images to ImgBB without using libUrlMultipartFormData. So it should work on mobile 1. Set HttpHeader put "Conten...
by mimu
Thu Oct 01, 2020 12:07 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Best strategy for building complex software?
Replies: 24
Views: 11324

Re: Best strategy for building complex software?

Hi stam,
take a look at the Levure-Framework from trevordevore,
In my opinion it‘s perfect to structure a bigger project.
Almost all of your code lives inside scriptonly stacks.
There are a lot of very useful plugins available.
Perfect to use together with git!
by mimu
Sun Sep 27, 2020 12:47 pm
Forum: iOS Deployment
Topic: IOS Files App Folder
Replies: 9
Views: 6583

Re: IOS Files App Folder

did you try to flag the "File Sharing" in the "Standalone Application Settings" for iOS? afterwards you should have the <key> UIFileSharingEnabled</key> <true/> inside the info.plist inside your app bundle. some useful hints: http://forums.livecode.com/viewtopic.php?t=12162 http://lessons.livecode.c...
by mimu
Sun Sep 27, 2020 2:13 am
Forum: Internet
Topic: Using imgBB api in livecode (solved)
Replies: 20
Views: 15955

Re: Using imgBB api in livecode

Yes it works, tested it From the imgbbdocs: curl --location --request POST "https://api.imgbb.com/1/upload?expiration=600&key=YOUR_CLIENT_API_KEY" --form "image=R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" It is send as form data put base64Encode(pImageData) into tFile put libURLMultipa...
by mimu
Sun Sep 27, 2020 12:25 am
Forum: Internet
Topic: Using imgBB api in livecode (solved)
Replies: 20
Views: 15955

Re: Using imgBB api in livecode

Hi, I've put together a small working sample stack to post to the imgBB Api. Download it, open the stack script, add you API-Key and it works. Select a file to upload, it will appear in 2 Images of the card, img1 is referenced, image 2 contains the imagedata. When you hit "upload Image 1" the Image ...
by mimu
Mon Sep 07, 2020 2:12 pm
Forum: Mac OS
Topic: Browser widget in notarized Application
Replies: 1
Views: 2718

Re: Browser widget in notarized Application

Problem solved with help from the mothership! i didn't know that it is important to add an entitlements file inside the resources folder like this one: <dict> <key>com.apple.security.cs.allow-jit</key> <true/> <key>com.apple.security.cs.allow-unsigned-executable-memory</key> <true/> <key>com.apple.s...

Go to advanced search