Search found 89 matches

by icouto
Mon Aug 27, 2018 12:20 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Undocumented MacOS X Deployment Options
Replies: 3
Views: 256

Re: Undocumented MacOS X Deployment Options

Thank you for your wonderful guidance, @jaqcue! Just to confirm: if I'm not at all concerned with OS 9, I can safely leave the 'signature' and 'document type' fields alone, and all should work fine in OS X?
by icouto
Sun Aug 26, 2018 5:21 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: JSON Library Not Included in Standalone
Replies: 3
Views: 243

Re: JSON Library Not Included in Standalone

Thanks for the heads-up, @bogs! I actually found this bug already reported:

https://quality.livecode.com/show_bug.cgi?id=21223
by icouto
Sun Aug 26, 2018 4:26 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: JSON Library Not Included in Standalone
Replies: 3
Views: 243

JSON Library Not Included in Standalone

I'm trying to save a stack as a standalone, and it uses the JSONToArray() function. In the IDE, everything works just fine. I then set the "Standalone Application Settings", and left the default to automatically "search for required inclusions when saving the standalone application". I then saved th...
by icouto
Sun Aug 26, 2018 3:56 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: How to Create a Command-Line Tool with LiveCode?
Replies: 14
Views: 615

Re: How to Create a Command-Line Tool with LiveCode?

There is a command-line tool that we use for one of our CMSs, and unfortunately the developer has decided to drop support for it - they don't want to develop it any further, as it's getting too many requests for enhancements, and "taking away from time spent developing the CMS itself". I thought thi...
by icouto
Sun Aug 26, 2018 2:17 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: YAML and LiveCode
Replies: 11
Views: 2145

Re: YAML and LiveCode

I was unable to (easily) find the code in Levure that deals with parsing YAML. Nevertheless, with a little research I did find a command-line tool that converts YAML to JSON, which LiveCode can then convert into a native array. The tool that I am using is Mike Fara's "yq" , which so far has performe...
by icouto
Sun Aug 26, 2018 12:56 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: How to Create a Command-Line Tool with LiveCode?
Replies: 14
Views: 615

Re: How to Create a Command-Line Tool with LiveCode?

Thank you, Richard! Yes, it does output my 'Hello World' - so it is working, although only after it gives me the warning (repeatedly)... Thank you for filing the bug report! Does this mean that the only way to create a 'command-line tool' in LiveCode right now would be to run it as a hash-bang scrip...
by icouto
Sun Aug 26, 2018 12:51 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Undocumented MacOS X Deployment Options
Replies: 3
Views: 256

Undocumented MacOS X Deployment Options

Hi all! I'm trying to understand the deployment options that we have available for MacOS X, in the 'Standalone Application Settings' dialogue - but I'm getting stuck. There seem to be options that are not documented anywhere (I've looked through the User Guide, online docs, lessons and tutorials), b...
by icouto
Sun Aug 26, 2018 12:25 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: How to Create a Command-Line Tool with LiveCode?
Replies: 14
Views: 615

Re: How to Create a Command-Line Tool with LiveCode?

TBH, I merely had a 'skeleton' of an app as a test - the app did nothing - as I was just starting to tinker with a command-line setup.

Is it possible to 'echo' something to the terminal, as a test? How do we go about building a '-h' or '--help'?
by icouto
Fri Aug 24, 2018 2:37 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: How to Create a Command-Line Tool with LiveCode?
Replies: 14
Views: 615

Re: How to Create a Command-Line Tool with LiveCode?

Thank you for the guidance, @FourthWorld! As I mentioned a couple of posts above, I've actually already looked inside the app bundle(=.app folder), found the executable, and tried running that both with and without the '-ui' flag. It runs into a fatal error: $ mylivecodetool.app/Contents/MacOS/myliv...
by icouto
Fri Aug 24, 2018 10:55 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: How to Create a Command-Line Tool with LiveCode?
Replies: 14
Views: 615

Re: How to Create a Command-Line Tool with LiveCode?

Thank you for the link, @AndyP - it does have some useful script code there that will come handy! Unfortunately, it does not answer any of my questions... :(
by icouto
Fri Aug 24, 2018 7:52 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: How to Create a Command-Line Tool with LiveCode?
Replies: 14
Views: 615

Re: How to Create a Command-Line Tool with LiveCode?

Wow, that was a quick reply! Standalones can be run facelessly by adding -ui to the command line options. What command are you using to run the standalone? I'm on a Mac, and trying to simply 'run' the standalone on the command-line - with or without '-ui' flags - does not work: $ mylivecodetool.app ...
by icouto
Fri Aug 24, 2018 6:51 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: How to Create a Command-Line Tool with LiveCode?
Replies: 14
Views: 615

How to Create a Command-Line Tool with LiveCode?

I know it is possible to write 'livecode script' (.lc) files, which can then be interpreted by LiveCode Server, but I was wondering whether it is possible to create an actual command-line tool with LiveCode? - ie., an all-in-one standalone binary intended to be run from the command-line only. I have...
by icouto
Tue Jul 31, 2018 9:36 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: YAML and LiveCode
Replies: 11
Views: 2145

Re: YAML and LiveCode

Hi all! It's been another couple of years, and I'm wondering whether there is now a YAML parser for LiveCode? I've downloaded the latest version (9.0), but haven't been able to see anything in the docs about YAML...
by icouto
Fri Sep 08, 2017 12:29 am
Forum: Databases
Topic: Database Interface KS Stretch Goal Done?
Replies: 1
Views: 861

Database Interface KS Stretch Goal Done?

Hi all, If I remember correctly, one of the stretch goals during the Kickstarter campaign several years ago was to create a new database library for LC - one that would allow us to connect in true cross-platform (and database-agnostic) ways, beyond the old "you have to use straight SQL" commands of ...
by icouto
Thu Mar 09, 2017 9:27 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Programatically Control Browser Widget
Replies: 3
Views: 742

Re: Programatically Control Browser Widget

Thank you for your extremely comprehensive and helpful response, @[-hh]!

Go to advanced search