Distinguishing CLI from GUI

Richard Gaskin ambassador at fourthworld.com
Mon Jun 13 10:25:36 EDT 2011

Mark Schonewille wrote:

> Hi Richard,
> What does the environment function return, if launched with -ui?

It returns "standalone application" whether launched with -ui or not.

@Andre: Thanks for the suggestion, but I'd really like to keep things 
simple for the user so I'd prefer not to rely on an additional file if I 
can avoid it.

  Richard Gaskin
  Fourth World
  LiveCode training and consulting: http://www.fourthworld.com
  Webzine for LiveCode developers: http://www.LiveCodeJournal.com
  LiveCode Journal blog: http://LiveCodejournal.com/blog.irv

More information about the Use-livecode mailing list