Search found 65 matches
- Wed Nov 04, 2020 3:02 pm
- Forum: Talking LiveCode
- Topic: ArrayToJSON(tdata)
- Replies: 0
- Views: 1161
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...
- Wed Oct 14, 2020 8:02 pm
- Forum: Feature Proposals
- Topic: Adding Behaviour Scripts to Datagrid
- Replies: 3
- Views: 1064
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...
- Wed Oct 14, 2020 7:42 pm
- Forum: Talking LiveCode
- Topic: Broadcast to all stacks?
- Replies: 10
- Views: 1636
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/
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/
- Mon Oct 12, 2020 3:35 pm
- Forum: Feature Proposals
- Topic: Adding Behaviour Scripts to Datagrid
- Replies: 3
- Views: 1064
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...
- Sun Oct 04, 2020 9:05 pm
- Forum: iOS Deployment
- Topic: IOS Files App Folder
- Replies: 9
- Views: 1979
Re: IOS Files App Folder
Your file should have a file extension!
Like .txt or .xml or .csv at the end of the filename
Like .txt or .xml or .csv at the end of the filename
- Sun Oct 04, 2020 4:29 pm
- Forum: Android Deployment
- Topic: Path to files in Android
- Replies: 2
- Views: 549
- Sat Oct 03, 2020 7:45 am
- Forum: iOS Deployment
- Topic: IOS Files App Folder
- Replies: 9
- Views: 1979
Re: IOS Files App Folder
Have you tried to name your file something like testfile.txt?
- Fri Oct 02, 2020 10:57 pm
- Forum: Android Deployment
- Topic: libUrlMultipartFormData on android error
- Replies: 8
- Views: 1527
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...
- Thu Oct 01, 2020 12:07 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: Best strategy for building complex software?
- Replies: 24
- Views: 3123
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!
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!
- Sun Sep 27, 2020 12:47 pm
- Forum: iOS Deployment
- Topic: IOS Files App Folder
- Replies: 9
- Views: 1979
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...
- Sun Sep 27, 2020 12:31 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: How to Read/Write serial COM port asynchronous?
- Replies: 2
- Views: 847
- Sun Sep 27, 2020 2:13 am
- Forum: Internet
- Topic: Using imgBB api in livecode (solved)
- Replies: 20
- Views: 2517
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...
- Sun Sep 27, 2020 12:25 am
- Forum: Internet
- Topic: Using imgBB api in livecode (solved)
- Replies: 20
- Views: 2517
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 ...
- Mon Sep 07, 2020 2:12 pm
- Forum: Mac OS
- Topic: Browser widget in notarized Application
- Replies: 1
- Views: 817
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...
- Sun Sep 06, 2020 9:37 pm
- Forum: Mac OS
- Topic: Browser widget in notarized Application
- Replies: 1
- Views: 817
Browser widget in notarized Application
I've built an a desktop Application using the great levure framework from Trevor DeVore. After some fiddling around with app.yaml, i was able to integrate the app-updater, dropDMG,Inno Setup and macOS Notary helpers. Works like a charme now. At the end i get a notification from Apple that my app is ...