Is is possible to build standalones in the command line?

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
nitzo
Posts: 2
Joined: Thu May 25, 2017 10:15 pm

Is is possible to build standalones in the command line?

Post by nitzo » Mon Jun 05, 2017 1:35 pm

Hello,

I am using revSaveAsStandalone to build my applications. In the IDE everything works.
When running livecode without the ui (using th -ui switch) the revSaveAsStandalone is not available.

Is there any way around this ?

Thanks!

bogs
Posts: 5435
Joined: Sat Feb 25, 2017 10:45 pm

Re: Is is possible to build standalones in the command line?

Post by bogs » Mon Jun 19, 2017 6:04 pm

I've seen references to the whole "-ui" thing, but haven't actually come across any real information about it. Hopefully someone that actually knows will chime in, as I find the question curious myself.
Image

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 9842
Joined: Sat Apr 08, 2006 7:05 am
Location: Los Angeles
Contact:

Re: Is is possible to build standalones in the command line?

Post by FourthWorld » Mon Jun 19, 2017 9:23 pm

Which LiveCode version are you using? IIRC this may have been fixed in a recent version. Might be good to try the latest by build and see if it's been addressed. Should also be listed among fixes in the Release Notes.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

bogs
Posts: 5435
Joined: Sat Feb 25, 2017 10:45 pm

Re: Is is possible to build standalones in the command line?

Post by bogs » Mon Jun 19, 2017 9:30 pm

<- Hopes Richard will come back in and expound on the whole "-ui" thing for those of us with no clue what it really is :shock: :twisted:
Image

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 9842
Joined: Sat Apr 08, 2006 7:05 am
Location: Los Angeles
Contact:

Re: Is is possible to build standalones in the command line?

Post by FourthWorld » Mon Jun 19, 2017 11:04 pm

The -ui option allows any LiveCode process (IDE engine or standalone app) to be run facelessly from the command line, e.g.:

Code: Select all

MyStandaloneApp -ui
This allows you to integrate LiveCode apps into workflows automated with shell scripting language like bash, PowerShell, and nearly any scripting language that lets you launch processes.

In fact, you can launch faceless standalones from a GUI standalone to provide multi-processing.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

Post Reply

Return to “Getting Started with LiveCode - Experienced Developers”