Controlling Rev apps from the command line?
JimAultWins at yahoo.com
Tue Jul 17 12:52:18 EDT 2007
On 7/17/07 7:36 AM, "Ian Wood" <revlist at azurevision.co.uk> wrote:
> This one was never answered, but by while looking for something else
> I finally came across the "$" entry in the dictionary...
> On 22 May 2007, at 12:52, Ian Wood wrote:
>> Later this year I'll be adding batch processing to one of my
>> applications. On OS X this will be via Ken's excellent custom AS
>> Dictionary tip (http://www.sonsothunder.com/devres/revolution/tips/
>> Is there a similar way to control Rev standalones from the command
>> line on OS X and Windows?
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.
Imagine your app changing a system $var from "Win" to "Mac"... not a good
"control Rev standalones" as you say, can be done by AS and VB if you build
handlers to trap events sent to the standalone. This way you can 'set' and
'get' parameters and also trigger handlers from the command line.
If we can get a good set of code and example stacks/apps, maybe we could add
this discussion to the wiki.
More information about the Use-livecode