Marco Gaiarin schrieb:
> Mandi! Tomasz Chmielewski
> In chel di` si favelave...
>
>> Hmm? I don't think I understood what you mean.
>
> I call marco.js instead of wpkg.js, but i call marco.js with '/syncronize
> /nonotify /quiet' (as example) options.
>
> Inside marco.js i call wpkg.js, but how i can pass command line options
> from marco,js to wpkg.js?
Something like that should do:
var commandline = ""
our_parameters = WScript.Arguments
for (i=0; i<our_parameters.length; i++)
{
commandline = (commandline + our_parameters(i) + " ")
}
WScript.Echo(commandline)
You can then pass "commandline" to start another script etc.
--
Tomasz Chmielewski
http://wpkg.org
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
wpkg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wpkg-users