[WT-support] LUA-Script and Arguments
Laurent HAAS - F6FVY
f6fvy at free.fr
Tue Dec 1 11:22:47 CET 2009
Hi Franta
Franta Bendl a écrit :
> there is the possibility to pass an argument to LUA-Script. If I call the LUA
> from the shell the name of appropriate global table with arguments is "arg".
> But this variable doesn't seem to be defined if the script is called from
> Wintest. How can be accessed the passed argument in Wintest? I did find a
> hint neither in the documentation nor in examples.
Use wtArgument.
To pass a string it must be enclosed by double quotes.
BTW, the manual build I was talking about in my last post is now available.
http://download.win-test.com/v4/nightly/wt_dev.zip
(In this latest build, I also added to possibility to use wtArg instead
of wtArgument).
73
Larry - F6FVY
More information about the Support
mailing list