Search found 60 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: 7335

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: 9035

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: 3665

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 8:02 pm
Forum: Feature Proposals
Topic: Adding Behaviour Scripts to Datagrid
Replies: 3
Views: 3113

Re: Adding Behaviour Scripts to Datagrid

Thank you very much for the tip, but it doesn't really fit into my workflow. I'am using levure, and most of code editing I do in the sublime text editor. So it would be perfect having the possibility to access the datagrid related scripts form outside LC, or move datagrid scripts with one button cli...
by mimu
Wed Oct 14, 2020 7:42 pm
Forum: Talking LiveCode
Topic: Broadcast to all stacks?
Replies: 11
Views: 8985

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
Mon Oct 12, 2020 3:35 pm
Forum: Feature Proposals
Topic: Adding Behaviour Scripts to Datagrid
Replies: 3
Views: 3113

Adding Behaviour Scripts to Datagrid

some time ago we have got the nice possibility to simply add or create behaviour scripts as script only stacks to Buttons, fields, etc - (see attachment). It would be great if we could use the same simple way for Datagrids to move a datagrid script into a script only stack. This would give us the ch...
by mimu
Sun Oct 04, 2020 9:05 pm
Forum: iOS Deployment
Topic: IOS Files App Folder
Replies: 9
Views: 10452

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: 10452

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: 10977

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: 17868

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: 10452

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: 25890

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