Controlling Rev apps from the command line?
kray at sonsothunder.com
Tue Jul 17 14:24:04 CDT 2007
On Tue, 17 Jul 2007 19:48:04 +0100, Ian Wood wrote:
> On 17 Jul 2007, at 17:52, Jim Ault wrote:
>> The reason I did not reply earlier when I saw the post is that I am
>> interested but not very familiar with command line, etc. My take is that
>> the environmental global variables $var are owned by apps and cannot be
>> directly accessed, but require some sort of permission level code. The
>> exception maybe the system globals can be accessed.
> I'm mostly interested in command-line parameters when launching the
> app (things like the path to a project file and the output path to
> save the results to), which shouldn't require any permissions beyond
> those needed to launch an app in the first place.
Ian, you use the $1, $2, etc. in your startup or openStack handler of
your standalone to identify command line params.
This is covered here:
in relation to passing a document on the command line to an app in
Windows, but it applies for general parameters as well.
Sons of Thunder Software, Inc.
Email: kray at sonsothunder.com
Web Site: http://www.sonsothunder.com/
More information about the use-livecode