Distinguishing CLI from GUI

Richard Gaskin ambassador at fourthworld.com
Wed Jun 15 12:16:19 EDT 2011


Warren Samples wrote:

> This simple script:
>
> on openStack
>   put $0 && $1 && $2 && $3 into url "file:/home/warren/Documents/launchtestLOG.txt"
>     if $3 is "-h" then get shell("opera")
> end openStack
>
> seems to work as expected with and without -ui. Using this command: ''launchTest -ui -Q some-param -h"
> launches Opera and creates the file with this line: "launchTest -Q some-param -h".


Thanks for that info.  I've had no such luck in Ubuntu, OS X, or WinXP.

@Mark Weider:  are you able to get "-ui" in any of the $ vars in your 
Fedora setup?

@All: Anyone know a way to run facelessly from the command line in 
Windows and quit after executing without having Windows think it's an error?

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